|
@@ -376,6 +376,8 @@ void Renderer::SetAlphaFunc(AlphaFunc func, float alpha) |
|
|
m_data->m_d3d_dev->SetRenderState(D3DRS_ALPHAREF, |
|
|
m_data->m_d3d_dev->SetRenderState(D3DRS_ALPHAREF, |
|
|
(DWORD)(alpha * 255.999f)); |
|
|
(DWORD)(alpha * 255.999f)); |
|
|
} |
|
|
} |
|
|
|
|
|
#elif defined HAVE_GLES_2X |
|
|
|
|
|
/* not supported */ |
|
|
#elif defined GL_VERSION_1_1 |
|
|
#elif defined GL_VERSION_1_1 |
|
|
switch (func) |
|
|
switch (func) |
|
|
{ |
|
|
{ |
|
@@ -810,6 +812,8 @@ void Renderer::SetPolygonMode(PolygonMode mode) |
|
|
m_data->m_d3d_dev->SetRenderState(D3DRS_FILLMODE, D3DFILL_SOLID); |
|
|
m_data->m_d3d_dev->SetRenderState(D3DRS_FILLMODE, D3DFILL_SOLID); |
|
|
break; |
|
|
break; |
|
|
} |
|
|
} |
|
|
|
|
|
#elif defined HAVE_GLES_2X |
|
|
|
|
|
/* not supported */ |
|
|
#elif defined GL_VERSION_1_1 |
|
|
#elif defined GL_VERSION_1_1 |
|
|
switch (mode) |
|
|
switch (mode) |
|
|
{ |
|
|
{ |
|
|