Changeset 23434 in vbox for trunk/src/VBox/GuestHost/OpenGL
- Timestamp:
- Sep 30, 2009 11:40:35 AM (15 years ago)
- svn:sync-xref-src-repo-rev:
- 53023
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/GuestHost/OpenGL/util/pixel.c
r21854 r23434 1267 1267 /* This was wrong in the old code! */ 1268 1268 bytes = ((width + 7) / 8) * height; 1269 } 1270 else if (GL_DEPTH_COMPONENT==format && type!=GL_FLOAT) 1271 { 1272 /*GL_DEPTH_COMPONENT with GL_UNSIGNED_BYTE seems is more that 1 byte per pixel*/ 1273 bytes = 4 * width * height * crPixelSize( format, type ); 1269 1274 } 1270 1275 else
Note:
See TracChangeset
for help on using the changeset viewer.