CL_OpenGL::ignore_extension - ClanLib Game SDK

Home | All Classes | Grouped Classes | Index | Search

# CL_OpenGL::ignore_extension

Ignore OpenGL extensions by name, causing ClanLib to not attempt to use them

    	void ignore_extension(
    		const std::string& extension_name);

Detailed description:

Due to buggy OpenGL drivers it may be useful to pretend that certain extensions don't exist, causes ClanLib to work around them. The only extension this would apply to right now is GL_EXT_abgr. extension_exists() will always return false when an extension is specified here.

Note: You must call this BEFORE initting openGL.

See also:

CL_OpenGL

Questions or comments, write to the ClanLib mailing list.