From Thomas Hogarth, build fix for IOS build
This commit is contained in:
@@ -336,7 +336,7 @@ typedef std::map<void*, unsigned int> TouchPointsIdMapping;
|
||||
}else if(_win->getTraits()->depth == 24){
|
||||
glRenderbufferStorageOES(GL_RENDERBUFFER_OES, GL_DEPTH_COMPONENT24_OES, _backingWidth, _backingHeight);
|
||||
}
|
||||
#if defined(OSG_GLES2_AVAILABLE)
|
||||
#if defined(GL_DEPTH_COMPONENT32_OES)
|
||||
else if(_win->getTraits()->depth == 32){
|
||||
glRenderbufferStorageOES(GL_RENDERBUFFER_OES, GL_DEPTH_COMPONENT32_OES, _backingWidth, _backingHeight);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user