Changeset 78375 in vbox for trunk/src/VBox/GuestHost/OpenGL/packer/pack_texture.c
- Timestamp:
- May 3, 2019 9:51:02 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/GuestHost/OpenGL/packer/pack_texture.c
r69392 r78375 20 20 unsigned char *data_ptr; 21 21 int packet_length; 22 int noimagedata = (pixels == NULL) || crStateIsBufferBound( GL_PIXEL_UNPACK_BUFFER_ARB);22 int noimagedata = (pixels == NULL) || crStateIsBufferBound(g_pStateTracker, GL_PIXEL_UNPACK_BUFFER_ARB); 23 23 24 24 packet_length = … … 63 63 unsigned char *data_ptr; 64 64 int packet_length; 65 const int noimagedata = (pixels == NULL) || crStateIsBufferBound( GL_PIXEL_UNPACK_BUFFER_ARB);65 const int noimagedata = (pixels == NULL) || crStateIsBufferBound(g_pStateTracker, GL_PIXEL_UNPACK_BUFFER_ARB); 66 66 const int is_distrib = ((type == GL_TRUE) || (type == GL_FALSE)); 67 67 int distrib_buf_len = 0; … … 139 139 unsigned char *data_ptr; 140 140 int packet_length; 141 int noimagedata = (pixels == NULL) || crStateIsBufferBound( GL_PIXEL_UNPACK_BUFFER_ARB);141 int noimagedata = (pixels == NULL) || crStateIsBufferBound(g_pStateTracker, GL_PIXEL_UNPACK_BUFFER_ARB); 142 142 int is_distrib = ( (type == GL_TRUE) || (type == GL_FALSE) ) ; 143 143 int distrib_buf_len = 0; … … 215 215 unsigned char *data_ptr; 216 216 int packet_length; 217 int noimagedata = (pixels == NULL) || crStateIsBufferBound( GL_PIXEL_UNPACK_BUFFER_ARB);217 int noimagedata = (pixels == NULL) || crStateIsBufferBound(g_pStateTracker, GL_PIXEL_UNPACK_BUFFER_ARB); 218 218 int is_distrib = ( (type == GL_TRUE) || (type == GL_FALSE) ) ; 219 219 int distrib_buf_len = 0; … … 561 561 unsigned char *data_ptr; 562 562 int packet_length; 563 int noimagedata = (pixels == NULL) || crStateIsBufferBound( GL_PIXEL_UNPACK_BUFFER_ARB);563 int noimagedata = (pixels == NULL) || crStateIsBufferBound(g_pStateTracker, GL_PIXEL_UNPACK_BUFFER_ARB); 564 564 565 565 packet_length = … … 614 614 unsigned char *data_ptr; 615 615 int packet_length; 616 int noimagedata = (pixels == NULL) || crStateIsBufferBound( GL_PIXEL_UNPACK_BUFFER_ARB);616 int noimagedata = (pixels == NULL) || crStateIsBufferBound(g_pStateTracker, GL_PIXEL_UNPACK_BUFFER_ARB); 617 617 618 618 packet_length = … … 660 660 unsigned char *data_ptr; 661 661 int packet_length; 662 int noimagedata = (pixels == NULL) || crStateIsBufferBound( GL_PIXEL_UNPACK_BUFFER_ARB);662 int noimagedata = (pixels == NULL) || crStateIsBufferBound(g_pStateTracker, GL_PIXEL_UNPACK_BUFFER_ARB); 663 663 664 664 packet_length = … … 732 732 unsigned char *data_ptr; 733 733 int packet_length; 734 int noimagedata = (data == NULL) || crStateIsBufferBound( GL_PIXEL_UNPACK_BUFFER_ARB);734 int noimagedata = (data == NULL) || crStateIsBufferBound(g_pStateTracker, GL_PIXEL_UNPACK_BUFFER_ARB); 735 735 736 736 /* All extended opcodes have their first 8 bytes predefined: … … 777 777 unsigned char *data_ptr; 778 778 int packet_length; 779 int noimagedata = (data == NULL) || crStateIsBufferBound( GL_PIXEL_UNPACK_BUFFER_ARB);779 int noimagedata = (data == NULL) || crStateIsBufferBound(g_pStateTracker, GL_PIXEL_UNPACK_BUFFER_ARB); 780 780 781 781 /* All extended opcodes have their first 8 bytes predefined: … … 825 825 unsigned char *data_ptr; 826 826 int packet_length; 827 int noimagedata = (data == NULL) || crStateIsBufferBound( GL_PIXEL_UNPACK_BUFFER_ARB);827 int noimagedata = (data == NULL) || crStateIsBufferBound(g_pStateTracker, GL_PIXEL_UNPACK_BUFFER_ARB); 828 828 829 829 /* All extended opcodes have their first 8 bytes predefined: … … 873 873 unsigned char *data_ptr; 874 874 int packet_length; 875 int noimagedata = (data == NULL) || crStateIsBufferBound( GL_PIXEL_UNPACK_BUFFER_ARB);875 int noimagedata = (data == NULL) || crStateIsBufferBound(g_pStateTracker, GL_PIXEL_UNPACK_BUFFER_ARB); 876 876 877 877 /* All extended opcodes have their first 8 bytes predefined: … … 917 917 unsigned char *data_ptr; 918 918 int packet_length; 919 int noimagedata = (data == NULL) || crStateIsBufferBound( GL_PIXEL_UNPACK_BUFFER_ARB);919 int noimagedata = (data == NULL) || crStateIsBufferBound(g_pStateTracker, GL_PIXEL_UNPACK_BUFFER_ARB); 920 920 921 921 /* All extended opcodes have their first 8 bytes predefined: … … 965 965 unsigned char *data_ptr; 966 966 int packet_length; 967 int noimagedata = (data == NULL) || crStateIsBufferBound( GL_PIXEL_UNPACK_BUFFER_ARB);967 int noimagedata = (data == NULL) || crStateIsBufferBound(g_pStateTracker, GL_PIXEL_UNPACK_BUFFER_ARB); 968 968 969 969 /* All extended opcodes have their first 8 bytes predefined:
Note:
See TracChangeset
for help on using the changeset viewer.