mirror of
https://github.com/libretro/RetroArch.git
synced 2025-01-21 08:26:17 +00:00
gl1: ignore alpha in core video, fixes XRGB8888 rendering in some cores
This commit is contained in:
parent
5b9b0bf78b
commit
086b3ccfb7
@ -442,7 +442,7 @@ void gl1_gfx_set_viewport(gl1_t *gl1,
|
||||
static void draw_tex(gl1_t *gl1, int pot_width, int pot_height, int width, int height, GLuint tex, const void *frame_to_copy)
|
||||
{
|
||||
/* FIXME: For now, everything is uploaded as BGRA8888, I could not get 444 or 555 to work, and there is no 565 support in GL 1.1 either. */
|
||||
GLint internalFormat = GL_RGBA8;
|
||||
GLint internalFormat = GL_RGB8;
|
||||
GLenum format = (gl1->supports_bgra ? GL_BGRA_EXT : GL_RGBA);
|
||||
GLenum type = GL_UNSIGNED_BYTE;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user