@@ -52,7 +52,7 @@ class CBlender_Compile
5252
5353 string128 pass_vs;
5454 string128 pass_ps;
55- #if defined(USE_DX10) || defined(USE_DX11)
55+ #if defined(USE_DX10) || defined(USE_DX11) || defined(USE_OGL)
5656 string128 pass_gs;
5757# ifdef USE_DX11
5858 string128 pass_hs;
@@ -92,7 +92,7 @@ class CBlender_Compile
9292 void StageSET_Color (u32 a1, u32 op, u32 a2);
9393 void StageSET_Color3 (u32 a1, u32 op, u32 a2, u32 a3);
9494 void StageSET_Alpha (u32 a1, u32 op, u32 a2);
95- #if !defined(USE_DX10) && !defined(USE_DX11)
95+ #if !defined(USE_DX10) && !defined(USE_DX11) && !defined(USE_OGL)
9696 void StageSET_TMC (LPCSTR T, LPCSTR M, LPCSTR C, int UVW_channel);
9797 void Stage_Texture (LPCSTR name, u32 address=D3DTADDRESS_WRAP, u32 fmin=D3DTEXF_LINEAR, u32 fmip=D3DTEXF_LINEAR, u32 fmag=D3DTEXF_LINEAR);
9898 void StageTemplate_LMAP0 ();
@@ -102,7 +102,7 @@ class CBlender_Compile
102102 void StageEnd ();
103103
104104 // R1/R2-compiler [programmable]
105- #if defined(USE_DX10) || defined(USE_DX11)
105+ #if defined(USE_DX10) || defined(USE_DX11) || defined(USE_OGL)
106106 void i_dx10Address (u32 s, u32 address);
107107 void i_dx10Filter_Min (u32 s, u32 f);
108108 void i_dx10Filter_Mip (u32 s, u32 f);
@@ -125,7 +125,7 @@ class CBlender_Compile
125125 // R1/R2-compiler [programmable] - templates
126126 void r_Pass (LPCSTR vs, LPCSTR ps, bool bFog, BOOL bZtest=TRUE , BOOL bZwrite=TRUE , BOOL bABlend=FALSE , D3DBLEND abSRC=D3DBLEND_ONE, D3DBLEND abDST=D3DBLEND_ZERO, BOOL aTest=FALSE , u32 aRef=0 );
127127 void r_Constant (LPCSTR name, R_constant_setup* s);
128- #if defined(USE_DX10) || defined(USE_DX11)
128+ #if defined(USE_DX10) || defined(USE_DX11) || defined(USE_OGL)
129129 void r_Pass (LPCSTR vs, LPCSTR gs, LPCSTR ps, bool bFog, BOOL bZtest=TRUE , BOOL bZwrite=TRUE , BOOL bABlend=FALSE , D3DBLEND abSRC=D3DBLEND_ONE, D3DBLEND abDST=D3DBLEND_ZERO, BOOL aTest=FALSE , u32 aRef=0 );
130130# ifdef USE_DX11
131131 void r_TessPass (LPCSTR vs, LPCSTR hs, LPCSTR ds, LPCSTR gs, LPCSTR ps, bool bFog, BOOL bZtest=TRUE , BOOL bZwrite=TRUE , BOOL bABlend=FALSE , D3DBLEND abSRC=D3DBLEND_ONE, D3DBLEND abDST=D3DBLEND_ZERO, BOOL aTest=FALSE , u32 aRef=0 );
0 commit comments