mirror of
https://github.com/libretro/RetroArch.git
synced 2024-11-25 00:49:47 +00:00
(MSVC) Buildfix
This commit is contained in:
parent
16a686345f
commit
4bdb26e2a1
2
gfx/gl.c
2
gfx/gl.c
@ -2679,7 +2679,7 @@ static bool gl_read_viewport(void *data, uint8_t *buffer)
|
||||
return false;
|
||||
}
|
||||
#else
|
||||
ptr = glMapBuffer(GL_PIXEL_PACK_BUFFER, GL_READ_ONLY);
|
||||
ptr = (const uint8_t*)glMapBuffer(GL_PIXEL_PACK_BUFFER, GL_READ_ONLY);
|
||||
if (!ptr)
|
||||
{
|
||||
RARCH_ERR("[GL]: Failed to map pixel unpack buffer.\n");
|
||||
|
Loading…
Reference in New Issue
Block a user