mirror of https://github.com/AxioDL/boo.git
Re-enable backface culling flag
This commit is contained in:
parent
5bb1198dd1
commit
3af64ddbb2
|
@ -253,9 +253,9 @@ public:
|
||||||
glDisable(GL_DEPTH_TEST);
|
glDisable(GL_DEPTH_TEST);
|
||||||
glDepthMask(m_depthWrite);
|
glDepthMask(m_depthWrite);
|
||||||
|
|
||||||
// if (m_backfaceCulling)
|
if (m_backfaceCulling)
|
||||||
// glEnable(GL_CULL_FACE);
|
glEnable(GL_CULL_FACE);
|
||||||
// else
|
else
|
||||||
glDisable(GL_CULL_FACE);
|
glDisable(GL_CULL_FACE);
|
||||||
|
|
||||||
return m_prog;
|
return m_prog;
|
||||||
|
@ -486,7 +486,7 @@ static const GLenum SEMANTIC_TYPE_TABLE[] =
|
||||||
|
|
||||||
struct GLCommandQueue : IGraphicsCommandQueue
|
struct GLCommandQueue : IGraphicsCommandQueue
|
||||||
{
|
{
|
||||||
Platform platform() const {return IGraphicsDataFactory::PlatformOGLES3;}
|
Platform platform() const {return IGraphicsDataFactory::PlatformOGL;}
|
||||||
const char* platformName() const {return "OpenGL ES 3.0";}
|
const char* platformName() const {return "OpenGL ES 3.0";}
|
||||||
IGraphicsContext* m_parent = nullptr;
|
IGraphicsContext* m_parent = nullptr;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue