- pixel_t *buffer; // invisible buffer
- pixel_t *colormap; // 256 * VID_GRADES size
- unsigned short *colormap16; // 256 * VID_GRADES size
- int fullbright; // index of first fullbright color
- unsigned width;
- unsigned height;
- float aspect; // width / height -- < 0 is taller than wide
- int numpages;
- int recalc_refdef; // if true, recalc vid-based stuff
- pixel_t *conbuffer;
- unsigned conwidth;
- unsigned conheight;
- int maxwarpwidth;
- int maxwarpheight;
- pixel_t *direct; // direct drawing to framebuffer, if not
- // NULL
+ // these are set with GL_BeginRendering 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;