Changeset 37771 in vbox for trunk/src/VBox/GuestHost/OpenGL
- Timestamp:
- Jul 4, 2011 5:59:17 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/GuestHost/OpenGL/state_tracker/state_texture.c
r37613 r37771 904 904 tobj->target = target; 905 905 } 906 else if (tobj->target != target) 906 else if ((tobj->target != target) 907 && !((target==GL_TEXTURE_RECTANGLE_NV && tobj->target==GL_TEXTURE_2D) 908 ||(target==GL_TEXTURE_2D && tobj->target==GL_TEXTURE_RECTANGLE_NV))) 907 909 { 908 910 crWarning( "You called glBindTexture with a target of 0x%x, but the texture you wanted was target 0x%x [1D: %x 2D: %x 3D: %x cube: %x]", (int) target, (int) tobj->target, GL_TEXTURE_1D, GL_TEXTURE_2D, GL_TEXTURE_3D, GL_TEXTURE_CUBE_MAP );
Note:
See TracChangeset
for help on using the changeset viewer.