Add pakced depth stencil to GLFWView and HeadlessView

This commit is contained in:
Leith Bade
2014-12-07 00:40:44 +11:00
parent b534520d6c
commit 886b622a92
3 changed files with 11 additions and 0 deletions

View File

@@ -85,6 +85,11 @@ void HeadlessView::loadExtensions() {
gl::IsVertexArray = (gl::PFNGLISVERTEXARRAYPROC)glXGetProcAddress((const GLubyte *)"glIsVertexArrayARB");
}
#endif
// HeadlessView requires packed depth stencil
gl::isPackedDepthStencilSupported = true;
gl::isDepth24Supported = true;
make_inactive();
}