Use correct internal format on PS3.

This commit is contained in:
Themaister 2012-11-18 18:23:20 +01:00
parent 04b09161e3
commit 99326a332d
2 changed files with 2 additions and 2 deletions

View File

@ -961,7 +961,7 @@ static void gl_init_textures(gl_t *gl, const video_info_t *video)
glTextureReferenceSCE(GL_TEXTURE_2D, 1,
gl->tex_w, gl->tex_h, 0,
gl->texture_fmt,
gl->internal_fmt,
gl->tex_w * gl->base_size,
gl->tex_w * gl->tex_h * i * gl->base_size);
}

View File

@ -287,7 +287,7 @@ extern PFNGLACTIVETEXTUREPROC pglActiveTexture;
#if defined(HAVE_PSGL)
#define RARCH_GL_INTERNAL_FORMAT32 GL_ARGB_SCE
#define RARCH_GL_INTERNAL_FORMAT16 GL_ARGB_SCE
#define RARCH_GL_INTERNAL_FORMAT16 GL_RGB5
#define RARCH_GL_TEXTURE_TYPE32 GL_BGRA
#define RARCH_GL_TEXTURE_TYPE16 GL_BGRA
#define RARCH_GL_FORMAT32 GL_UNSIGNED_INT_8_8_8_8_REV