mirror of
https://github.com/libretro/RetroArch.git
synced 2025-02-10 19:33:26 +00:00
Minor nits
This commit is contained in:
parent
11e8a498df
commit
218f52c5bf
@ -106,8 +106,8 @@ static INLINE bool gl_query_extension(gl_t *gl, const char *ext)
|
|||||||
if (gl->core_context)
|
if (gl->core_context)
|
||||||
{
|
{
|
||||||
#ifdef GL_NUM_EXTENSIONS
|
#ifdef GL_NUM_EXTENSIONS
|
||||||
GLint i, exts;
|
GLint i;
|
||||||
exts = 0;
|
GLint exts = 0;
|
||||||
glGetIntegerv(GL_NUM_EXTENSIONS, &exts);
|
glGetIntegerv(GL_NUM_EXTENSIONS, &exts);
|
||||||
for (i = 0; i < exts; i++)
|
for (i = 0; i < exts; i++)
|
||||||
{
|
{
|
||||||
@ -327,8 +327,10 @@ static INLINE GLenum min_filter_to_mag(GLenum type)
|
|||||||
case GL_NEAREST_MIPMAP_NEAREST:
|
case GL_NEAREST_MIPMAP_NEAREST:
|
||||||
return GL_NEAREST;
|
return GL_NEAREST;
|
||||||
default:
|
default:
|
||||||
return type;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
return type;
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef HAVE_FBO
|
#ifdef HAVE_FBO
|
||||||
|
Loading…
x
Reference in New Issue
Block a user