X-Git-Url: http://de.git.xonotic.org/?p=xonotic%2Fdarkplaces.git;a=blobdiff_plain;f=vid_wgl.c;h=2d0ac602f5865c1fd2c3daa30a50a05c9ae3ded0;hp=960c14c085c8bfac0ceca0b82c7248e28793d2e0;hb=72febe336719285ecd4f855454d1e90f7aa99834;hpb=0b21c729f7b68ebc477c7f924771c7af8cd960e0;ds=sidebyside diff --git a/vid_wgl.c b/vid_wgl.c index 960c14c0..2d0ac602 100644 --- a/vid_wgl.c +++ b/vid_wgl.c @@ -1605,6 +1605,8 @@ qboolean VID_InitModeDX(viddef_mode_t *mode, int version) vid.texarrayunits = bound(8, vid.texarrayunits, MAX_TEXTUREUNITS); Con_DPrintf("Using D3D9.0 rendering path - %i texture matrix, %i texture images, %i texcoords, shadowmapping supported%s\n", vid.texunits, vid.teximageunits, vid.texarrayunits, vid.maxdrawbuffers > 1 ? ", MRT detected (allows prepass deferred lighting)" : ""); vid.renderpath = RENDERPATH_D3D9; + vid.sRGBcapable2D = false; + vid.sRGBcapable3D = true; vid.useinterleavedarrays = true; Cvar_SetQuick(&gl_info_vendor, gl_vendor);