Changeset 21830 in vbox for trunk/src/VBox/Additions
- Timestamp:
- Jul 28, 2009 11:28:19 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/common/crOpenGL/pack/packspu_getstring.c
r21317 r21830 76 76 ext = crStateMergeExtensions(1, &extensions); 77 77 78 #ifdef CR_OPENGL_VERSION_2_079 /* @todo move to known extensions etc, for now just a hack.80 */81 {82 GLfloat fversion = GetVersionString();83 if (fversion>=2.f)84 {85 sprintf((char*)gpszExtensions, "%sGL_ARB_shading_language_100 GL_ARB_shader_objects GL_ARB_vertex_shader GL_ARB_fragment_shader GL_EXT_texture_compression_s3tc GL_EXT_draw_range_elements", ext);86 }87 }88 #else89 78 sprintf(gpszExtensions, "%s", ext); 90 #endif91 79 92 80 return gpszExtensions;
Note:
See TracChangeset
for help on using the changeset viewer.