VirtualBox

Ignore:
Timestamp:
Jan 4, 2015 5:13:27 AM (10 years ago)
Author:
vboxsync
Message:

VMSVGA3d/darwin: Using the use OpenGL 3.2 Core profile works better, but there are some snags like glGetString(GT_EXTENSIONS). Addressed a bunch of warnings.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/HostServices/SharedOpenGL/render/renderspu_cocoa_helper.m

    r53601 r53728  
    9292#ifdef IN_VMSVGA3D
    9393# include "DevVGA-SVGA3d-cocoa.h"
     94# include <OpenGL/OpenGL.h>
     95# include <OpenGL/gl3.h>
     96# include <OpenGL/gl3ext.h>
     97# include <OpenGL/glext.h>
    9498#else
    9599# include <cr_vreg.h>
     
    25582562    NSOpenGLPixelFormatAttribute attribs[24] =
    25592563    {
     2564#ifdef IN_VMSVGA3D
     2565        NSOpenGLPFAOpenGLProfile, NSOpenGLProfileVersion3_2Core,
     2566#endif
    25602567        NSOpenGLPFAAccelerated,
    25612568        NSOpenGLPFAColorSize, (NSOpenGLPixelFormatAttribute)24
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette