mirror of
https://github.com/CTCaer/RetroArch.git
synced 2024-12-23 03:10:14 +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)
|
||||
{
|
||||
#ifdef GL_NUM_EXTENSIONS
|
||||
GLint i, exts;
|
||||
exts = 0;
|
||||
GLint i;
|
||||
GLint exts = 0;
|
||||
glGetIntegerv(GL_NUM_EXTENSIONS, &exts);
|
||||
for (i = 0; i < exts; i++)
|
||||
{
|
||||
@ -327,8 +327,10 @@ static INLINE GLenum min_filter_to_mag(GLenum type)
|
||||
case GL_NEAREST_MIPMAP_NEAREST:
|
||||
return GL_NEAREST;
|
||||
default:
|
||||
return type;
|
||||
break;
|
||||
}
|
||||
|
||||
return type;
|
||||
}
|
||||
|
||||
#ifdef HAVE_FBO
|
||||
|
Loading…
Reference in New Issue
Block a user