(PSGL) Fix 32bit color

This commit is contained in:
twinaphex 2016-08-03 17:07:38 +02:00
parent eab3c6e25f
commit 444d957978
2 changed files with 3 additions and 1 deletions

View File

@ -1801,7 +1801,7 @@ static bool resolve_extensions(gl_t *gl, const char *context_ident)
#endif
video_driver_unset_rgba();
#if defined(HAVE_OPENGLES)
#if defined(HAVE_OPENGLES) && !defined(HAVE_PSGL)
gl->have_full_npot_support = gl_check_capability(GL_CAPS_FULL_NPOT_SUPPORT);
if (!gl_check_capability(GL_CAPS_BGRA8888))

View File

@ -1592,6 +1592,7 @@ static uintptr_t xmb_icon_get_id(xmb_handle_t *xmb,
if (core_node)
return core_node->content_icon;
#if defined(HAVE_IMAGEVIEWER) || defined(HAVE_FFMPEG)
switch (xmb->categories.selection_ptr)
{
#ifdef HAVE_IMAGEVIEWER
@ -1607,6 +1608,7 @@ static uintptr_t xmb_icon_get_id(xmb_handle_t *xmb,
default:
break;
}
#endif
return xmb->textures.list[XMB_TEXTURE_FILE];
case FILE_TYPE_CARCHIVE:
return xmb->textures.list[XMB_TEXTURE_ZIP];