summaryrefslogtreecommitdiff
path: root/src/renderercommon
diff options
context:
space:
mode:
author/dev/humancontroller <devhc@example.com>2014-07-13 18:05:31 +0200
committer/dev/humancontroller <devhc@example.com>2017-03-09 13:51:11 +0100
commit8391e8997fad1bdbd6b9d189c6afca22d3e4324c (patch)
treeb1e2f117c23a5a7ef7eb97274dc96e1823a9c9ae /src/renderercommon
parent59875f1378dca6605cd0426eff89f850d8743c92 (diff)
request a visual with at least 1 alpha bit: add r_alphabits, defaulting to 1
this is required for binary shaders
Diffstat (limited to 'src/renderercommon')
-rw-r--r--src/renderercommon/tr_common.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/renderercommon/tr_common.h b/src/renderercommon/tr_common.h
index 0dc5653d..005f75a4 100644
--- a/src/renderercommon/tr_common.h
+++ b/src/renderercommon/tr_common.h
@@ -81,6 +81,7 @@ extern glconfig_t glConfig; // outside of TR since it shouldn't be cleared duri
extern cvar_t *r_stencilbits; // number of desired stencil bits
extern cvar_t *r_depthbits; // number of desired depth bits
extern cvar_t *r_colorbits; // number of desired color bits, only relevant for fullscreen
+extern cvar_t *r_alphabits; // number of desired alpha bits
extern cvar_t *r_texturebits; // number of desired texture bits
extern cvar_t *r_ext_multisample;
// 0 = use framebuffer depth