mirror of
https://github.com/dhewm/dhewm3.git
synced 2025-01-19 07:51:54 +00:00
Remove C++11-isms
accidentally used nullptr instead of NULL, oops..
This commit is contained in:
parent
80f9a5ca52
commit
f3a4d92d33
2 changed files with 2 additions and 2 deletions
|
@ -402,7 +402,7 @@ static void R_CheckPortableExtensions( void ) {
|
|||
} else {
|
||||
// TODO: there was an extension by ATI providing glStencilOpSeparateATI - do we care?
|
||||
common->Printf( "... don't have GL2.0+ glStencilOpSeparate()\n" );
|
||||
qglStencilOpSeparate = nullptr;
|
||||
qglStencilOpSeparate = NULL;
|
||||
}
|
||||
|
||||
// ARB_vertex_buffer_object
|
||||
|
|
|
@ -1144,7 +1144,7 @@ static void RB_T_Shadow( const drawSurf_t *surf ) {
|
|||
|
||||
// DG: that bloody patent on depth-fail stencil shadows has finally expired on 2019-10-13,
|
||||
// so use them (see https://patents.google.com/patent/US6384822B1/en for expiration status)
|
||||
bool useStencilOpSeperate = r_useStencilOpSeparate.GetBool() && qglStencilOpSeparate != nullptr;
|
||||
bool useStencilOpSeperate = r_useStencilOpSeparate.GetBool() && qglStencilOpSeparate != NULL;
|
||||
if( !r_useCarmacksReverse.GetBool() ) {
|
||||
if( useStencilOpSeperate ) {
|
||||
// not using z-fail, but using qglStencilOpSeparate()
|
||||
|
|
Loading…
Reference in a new issue