Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e2e17e5b authored by Jesse Hall's avatar Jesse Hall Committed by Gerrit Code Review
Browse files

Merge "GlES2: Add NULL check"

parents 8ce28672 0627071c
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -183,7 +183,7 @@ const GLubyte * glGetString(GLenum name)
    const GLubyte * ret = egl_get_string_for_current_context(name);
    if (ret == NULL) {
        gl_hooks_t::gl_t const * const _c = &getGlThreadSpecific()->gl;
        ret = _c->glGetString(name);
        if(_c) ret = _c->glGetString(name);
    }
    return ret;
}