Changeset 33475 in vbox for trunk/src/VBox/GuestHost/OpenGL/packer/pack_lists.c
- Timestamp:
- Oct 26, 2010 5:23:54 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/GuestHost/OpenGL/packer/pack_lists.c
r33457 r33475 63 63 void PACK_APIENTRY crPackNewList( GLuint list, GLenum mode ) 64 64 { 65 GET_PACKER_CONTEXT(pc);65 CR_GET_PACKER_CONTEXT(pc); 66 66 unsigned char *data_ptr; 67 67 (void) pc; 68 GET_BUFFERED_POINTER( pc, 16 );68 CR_GET_BUFFERED_POINTER( pc, 16 ); 69 69 WRITE_DATA( 0, GLint, 16 ); 70 70 WRITE_DATA( 4, GLenum, CR_NEWLIST_EXTEND_OPCODE ); … … 74 74 pc->buffer.in_List = GL_TRUE; 75 75 pc->buffer.holds_List = GL_TRUE; 76 CR_UNLOCK_PACKER_CONTEXT(pc); 76 77 } 77 78 78 79 void PACK_APIENTRY crPackEndList( void ) 79 80 { 80 GET_PACKER_CONTEXT(pc);81 CR_GET_PACKER_CONTEXT(pc); 81 82 unsigned char *data_ptr; 82 GET_BUFFERED_POINTER( pc, 8 );83 CR_GET_BUFFERED_POINTER( pc, 8 ); 83 84 WRITE_DATA( 0, GLint, 8 ); 84 85 WRITE_DATA( 4, GLenum, CR_ENDLIST_EXTEND_OPCODE ); 85 86 WRITE_OPCODE( pc, CR_EXTEND_OPCODE ); 86 87 pc->buffer.in_List = GL_FALSE; 88 CR_UNLOCK_PACKER_CONTEXT(pc); 87 89 }
Note:
See TracChangeset
for help on using the changeset viewer.