]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - vid.h
Change r_showbboxes to have outlined edges of the box, and the box is now rendered...
[xonotic/darkplaces.git] / vid.h
diff --git a/vid.h b/vid.h
index 37955e8c95670d785bd19b42b5a1499412ca4fc1..73999c4880a6557715e73b004d47b3698ad5d89c 100644 (file)
--- a/vid.h
+++ b/vid.h
@@ -296,6 +296,7 @@ void VID_Stop(void);
 extern unsigned int vid_gammatables_serial; // so other subsystems can poll if gamma parameters have changed; this starts with 0 and gets increased by 1 each time the gamma parameters get changed and VID_BuildGammaTables should be called again
 extern qboolean vid_gammatables_trivial; // this is set to true if all color control values are at default setting, and it therefore would make no sense to use the gamma table
 void VID_BuildGammaTables(unsigned short *ramps, int rampsize); // builds the current gamma tables into an array (needs 3*rampsize items)
+void VID_ApplyGammaToColor(const float *rgb, float *out); // applies current gamma settings to a color (0-1 range)
 
 typedef struct
 {