diff --git a/panda/src/dxgsg/config_dxgsg.cxx b/panda/src/dxgsg/config_dxgsg.cxx index a0eb35a6e4..caf2fccdaf 100644 --- a/panda/src/dxgsg/config_dxgsg.cxx +++ b/panda/src/dxgsg/config_dxgsg.cxx @@ -36,6 +36,10 @@ bool dx_full_screen = config_dxgsg.GetBool("dx-full-screen", false); // irrespective of the video refresh. bool dx_sync_video = config_dxgsg.GetBool("sync-video", true); +// enable this to turn on full-screen anti-aliasing, if the HW supports it +// this var is also used in wdxGraphicsWindows.cxx +bool dx_full_screen_antialiasing = config_dxgsg.GetBool("dx-antialias", false); + // Configure this true to perform a cull traversal over the geometry // by default, false otherwise. The cull traversal provides support // for state-sorting, z-sorting, and binning. diff --git a/panda/src/dxgsg/config_dxgsg.h b/panda/src/dxgsg/config_dxgsg.h index c9e9623adb..5723426cc5 100644 --- a/panda/src/dxgsg/config_dxgsg.h +++ b/panda/src/dxgsg/config_dxgsg.h @@ -32,6 +32,7 @@ extern bool dx_ignore_mipmaps; extern bool dx_force_16bpp_screenbuffers; extern bool dx_show_fps_meter; extern bool dx_no_vertex_fog; +extern bool dx_full_screen_antialiasing; extern float dx_fps_meter_update_interval; #ifdef _DEBUG