Fix CXX_BUILD=1.
This commit is contained in:
parent
6f28393c11
commit
f67fe439bf
2
gfx/gl.c
2
gfx/gl.c
|
@ -880,7 +880,7 @@ static void gl_init_textures(gl_t *gl)
|
|||
#elif defined(HAVE_PBO)
|
||||
static inline void gl_copy_frame(gl_t *gl, const void *frame, unsigned width, unsigned height, unsigned pitch)
|
||||
{
|
||||
const uint8_t *frame_copy = frame;
|
||||
const uint8_t *frame_copy = (const uint8_t*)frame;
|
||||
size_t frame_copy_size = width * gl->base_size;
|
||||
|
||||
pglBindBuffer(GL_PIXEL_UNPACK_BUFFER, gl->pbo);
|
||||
|
|
Loading…
Reference in New Issue