mirror of
https://github.com/libretro/RetroArch
synced 2025-04-18 14:42:30 +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;
|
return false;
|
||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
ptr = glMapBuffer(GL_PIXEL_PACK_BUFFER, GL_READ_ONLY);
|
ptr = (const uint8_t*)glMapBuffer(GL_PIXEL_PACK_BUFFER, GL_READ_ONLY);
|
||||||
if (!ptr)
|
if (!ptr)
|
||||||
{
|
{
|
||||||
RARCH_ERR("[GL]: Failed to map pixel unpack buffer.\n");
|
RARCH_ERR("[GL]: Failed to map pixel unpack buffer.\n");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user