Example #1
0
unsigned WGL_ParseExtensionString( const char *s ) {
    // must match defines in win_wgl.h!
    static const char *const extnames[] = {
        "WGL_EXT_swap_control",
        NULL
    };

    return Com_ParseExtensionString( s, extnames );
}
Example #2
0
File: qgl.c Project: jayschwa/q2pro
unsigned QGL_ParseExtensionString(const char *s)
{
    // must match defines in qgl_api.h!
    static const char *const extnames[] = {
        "GL_ARB_fragment_program",
        "GL_ARB_multitexture",
        "GL_ARB_vertex_buffer_object",
        "GL_EXT_compiled_vertex_array",
        "GL_EXT_texture_filter_anisotropic",
        NULL
    };

    return Com_ParseExtensionString(s, extnames);
}