Changeset 70601 in vbox for trunk/src/VBox/GuestHost
- Timestamp:
- Jan 16, 2018 4:26:58 PM (7 years ago)
- svn:sync-xref-src-repo-rev:
- 120311
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/GuestHost/OpenGL/state_tracker/state_pixel.c
r69392 r70601 312 312 void STATE_APIENTRY crStatePixelMapuiv (GLenum map, GLint mapsize, const GLuint * values) 313 313 { 314 GLfloat fvalues[CR_MAX_PIXEL_MAP_TABLE]; 315 GLint i; 314 if (mapsize < 0 || mapsize > CR_MAX_PIXEL_MAP_TABLE) 315 { 316 crError("crStatePixelMapuiv: parameter 'mapsize' is out of range"); 317 return; 318 } 316 319 317 320 if (!crStateIsBufferBound(GL_PIXEL_UNPACK_BUFFER_ARB)) 318 321 { 322 GLfloat fvalues[CR_MAX_PIXEL_MAP_TABLE]; 323 GLint i; 324 319 325 if (map==GL_PIXEL_MAP_I_TO_I || map==GL_PIXEL_MAP_S_TO_S) { 320 326 for (i=0;i<mapsize;i++) {
Note:
See TracChangeset
for help on using the changeset viewer.