*/
// vid.h -- video driver defs
+#ifndef VID_H
+#define VID_H
+
typedef struct
{
- // these are set with GL_BeginRendering and can change from frame to frame
+ // these are set with VID_GetWindowSize and can change from frame to frame
int realx;
int realy;
int realwidth;
int realheight;
-// int recalc_refdef; // if true, recalc vid-based stuff
int conwidth;
int conheight;
// sets hardware gamma correction, returns false if the device does not support gamma control
int VID_SetGamma (float prescale, float gamma, float scale, float base);
+
+void VID_GetWindowSize (int *x, int *y, int *width, int *height);
+
+void VID_Finish (void);
+
+#endif
+