Changeset 76236 in vbox for trunk/src/VBox
- Timestamp:
- Dec 14, 2018 4:02:17 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Graphics/DevVGA-SVGA3d-ogl.cpp
r75811 r76236 908 908 */ 909 909 /** @todo distinguish between vertex and pixel shaders??? */ 910 #ifdef VBOX_VMSVGA3D_DUAL_OPENGL_PROFILE /* The alternative profile has a higher number here (ati/darwin). */ 911 VMSVGA3D_SET_CURRENT_CONTEXT(pState, pOtherCtx); 910 912 const char *pszShadingLanguageVersion = (const char *)glGetString(GL_SHADING_LANGUAGE_VERSION); 913 VMSVGA3D_SET_CURRENT_CONTEXT(pState, pContext); 914 #else 915 const char *pszShadingLanguageVersion = (const char *)glGetString(GL_SHADING_LANGUAGE_VERSION); 916 #endif 911 917 float v = pszShadingLanguageVersion ? atof(pszShadingLanguageVersion) : 0.0f; 912 918 if (v >= 3.30f)
Note:
See TracChangeset
for help on using the changeset viewer.