Changeset 39012 in vbox
- Timestamp:
- Oct 18, 2011 8:11:32 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/common/crOpenGL/pack/packspu_glsl.c
r33988 r39012 87 87 GET_THREAD(thread); 88 88 int writeback = 1; 89 GLsizei maxcbData = 16*1024*sizeof(char);89 GLsizei maxcbData; 90 90 GLsizei *pData; 91 GLint mu; 92 93 packspu_GetIntegerv(GL_MAX_VERTEX_UNIFORM_COMPONENTS_ARB, &mu); 94 maxcbData = 16*mu*sizeof(char); 91 95 92 96 pData = (GLsizei *) crAlloc(maxcbData+sizeof(GLsizei));
Note:
See TracChangeset
for help on using the changeset viewer.