Changeset 21845 in vbox for trunk/src/VBox/GuestHost
- Timestamp:
- Jul 28, 2009 2:21:04 PM (15 years ago)
- Location:
- trunk/src/VBox/GuestHost/OpenGL/packer
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/GuestHost/OpenGL/packer/pack_misc.c
r15532 r21845 93 93 } 94 94 } 95 96 void PACK_APIENTRY crPackDeleteQueriesARB(GLsizei n, const GLuint * ids) 97 { 98 unsigned char *data_ptr; 99 int packet_length = sizeof(GLenum)+sizeof(n)+n*sizeof(*ids); 100 GET_PACKER_CONTEXT(pc); 101 if (!ids) return; 102 data_ptr = (unsigned char *) crPackAlloc(packet_length); 103 WRITE_DATA(0, GLenum, CR_DELETEQUERIESARB_EXTEND_OPCODE); 104 WRITE_DATA(4, GLsizei, n); 105 crMemcpy(data_ptr + 8, ids, n*sizeof(*ids)); 106 crHugePacket(CR_EXTEND_OPCODE, data_ptr); 107 crPackFree(data_ptr); 108 } -
trunk/src/VBox/GuestHost/OpenGL/packer/packer_special
r21422 r21845 166 166 GetInfoLogARB 167 167 GetBufferSubDataARB 168 DeleteQueriesARB
Note:
See TracChangeset
for help on using the changeset viewer.