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);
|
||||
glDepthMask(m_depthWrite);
|
||||
|
||||
// if (m_backfaceCulling)
|
||||
// glEnable(GL_CULL_FACE);
|
||||
// else
|
||||
if (m_backfaceCulling)
|
||||
glEnable(GL_CULL_FACE);
|
||||
else
|
||||
glDisable(GL_CULL_FACE);
|
||||
|
||||
return m_prog;
|
||||
|
@ -486,7 +486,7 @@ static const GLenum SEMANTIC_TYPE_TABLE[] =
|
|||
|
||||
struct GLCommandQueue : IGraphicsCommandQueue
|
||||
{
|
||||
Platform platform() const {return IGraphicsDataFactory::PlatformOGLES3;}
|
||||
Platform platform() const {return IGraphicsDataFactory::PlatformOGL;}
|
||||
const char* platformName() const {return "OpenGL ES 3.0";}
|
||||
IGraphicsContext* m_parent = nullptr;
|
||||
|
||||
|
|
Loading…
Reference in New Issue