mirror of
https://github.com/scp-fs2open/fs2open.github.com.git
synced 2026-11-11 04:31:35 -10:00
allow us to build without D3D support under Windows (just define NO_DIRECT3D) clean up TMAP flags fix a couple of minor OpenGL state change issues with spec and env map rendering make sure we build again for OS X (OGL extension functions work a little different there) render targets always need to be power-of-2 to avoid incomplete buffer issues in the code when we disable culling in opengl_3dunlit be sure that we re-enable it on exit of function re-fix screenshots add true alpha blending support (with cmdline for now since the artwork has the catch up) draw lines with float positioning, to be more accurate with resizing on non-standard resolutions don't load cubemaps from file for D3D, not sure how to do it anyway update geometry batcher code, memory fixes, dynamic stuff, basic fixage, etc.
19 lines
352 B
C
19 lines
352 B
C
|
|
#ifndef _GRD3DSTATEBLOCK_H
|
|
#define _GRD3DSTATEBLOCK_H
|
|
|
|
#ifndef NO_DIRECT3D
|
|
|
|
/*
|
|
state blocks are expected to be made early on, or dureing a loading period
|
|
then live for the duration of the program
|
|
*/
|
|
|
|
void gr_d3d_start_state_block();
|
|
int gr_d3d_end_state_block();
|
|
void gr_d3d_set_state_block(int);
|
|
|
|
#endif // !NO_DIRECT3D
|
|
|
|
#endif // _GRD3DSTATEBLOCK_H
|