- Timestamp:
- Nov 23, 2018 7:57:37 PM (6 years ago)
- svn:sync-xref-src-repo-rev:
- 126895
- Location:
- trunk/src/VBox/Devices/Graphics
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Graphics/DevVGA-SVGA3d-internal.h
r73373 r75696 1026 1026 { 1027 1027 GLint maxActiveLights; 1028 GLint maxTextureBufferSize;1029 1028 GLint maxTextures; 1030 1029 GLint maxClipDistances; -
trunk/src/VBox/Devices/Graphics/DevVGA-SVGA3d-ogl.cpp
r75695 r75696 853 853 */ 854 854 pState->caps.maxActiveLights = 1; 855 pState->caps.maxTextureBufferSize = 65536;856 855 pState->caps.maxTextures = 1; 857 856 pState->caps.maxClipDistances = 4; … … 870 869 */ 871 870 VMSVGA3D_INIT_CHECKED_BOTH(pState, pContext, pOtherCtx, glGetIntegerv(GL_MAX_LIGHTS, &pState->caps.maxActiveLights)); 872 VMSVGA3D_INIT_CHECKED_BOTH(pState, pContext, pOtherCtx, glGetIntegerv(GL_MAX_TEXTURE_BUFFER_SIZE, &pState->caps.maxTextureBufferSize));873 871 VMSVGA3D_INIT_CHECKED_BOTH(pState, pContext, pOtherCtx, glGetIntegerv(GL_MAX_TEXTURE_UNITS_ARB, &pState->caps.maxTextures)); 874 872 #ifdef VBOX_VMSVGA3D_DUAL_OPENGL_PROFILE /* The alternative profile has a higher number here (ati/darwin). */ … … 1034 1032 1035 1033 LogRel(("VMSVGA3d: Capabilities:\n")); 1036 LogRel(("VMSVGA3d: maxActiveLights=%-2d maxTextures=%-2d maxTextureBufferSize=%d\n",1037 pState->caps.maxActiveLights, pState->caps.maxTextures , pState->caps.maxTextureBufferSize));1034 LogRel(("VMSVGA3d: maxActiveLights=%-2d maxTextures=%-2d\n", 1035 pState->caps.maxActiveLights, pState->caps.maxTextures)); 1038 1036 LogRel(("VMSVGA3d: maxClipDistances=%-2d maxColorAttachments=%-2d maxClipDistances=%d\n", 1039 1037 pState->caps.maxClipDistances, pState->caps.maxColorAttachments, pState->caps.maxClipDistances));
Note:
See TracChangeset
for help on using the changeset viewer.