Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 0 additions & 11 deletions client/render/gl_export.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -486,14 +486,6 @@ static void GL_CheckExtension( const char *name, const dllfunc_t *funcs, const c

ALERT( at_aiconsole, "GL_CheckExtension: %s ", name );

// ugly hack for p1 opengl32.dll
if(( name[0] == 'P' || name[2] == '_' || name[3] == '_' ) && !Q_strstr( glConfig.extensions_string, name ))
{
GL_SetExtension( r_ext, false ); // update render info
ALERT( at_aiconsole, "- ^1failed\n" );
return;
}

if( cvarname )
{
// NOTE: engine will be ignore cvar value if variable already exitsts (e.g. created on exec opengl.cfg)
Expand Down Expand Up @@ -711,9 +703,6 @@ static void GL_InitExtensions( void )
// FBO support
GL_CheckExtension( "GL_ARB_framebuffer_object", fbofuncs, "gl_framebuffers", R_FRAMEBUFFER_OBJECT );

// Paranoia OpenGL32.dll may be eliminate shadows. Run special check for it
GL_CheckExtension( "PARANOIA_HACKS_V1", NULL, NULL, R_PARANOIA_EXT );

GL_CheckExtension( "GL_ARB_seamless_cube_map", NULL, "gl_seamless_cubemap", R_SEAMLESS_CUBEMAP );

// check for hardware skinning
Expand Down
1 change: 0 additions & 1 deletion client/render/gl_local.h
Original file line number Diff line number Diff line change
Expand Up @@ -452,7 +452,6 @@ enum
R_OCCLUSION_QUERIES_EXT,
R_SEAMLESS_CUBEMAP,
R_BINARY_SHADER_EXT,
R_PARANOIA_EXT, // custom OpenGL32.dll with hacked function glDepthRange
R_DEBUG_OUTPUT,
R_KHR_DEBUG,
R_ARB_PIXEL_BUFFER_OBJECT,
Expand Down
Loading