mirror of
https://github.com/blawar/GLideN64.git
synced 2024-07-02 09:03:37 +00:00
Removed GLES version check for glBufferStorage, allowing for any device that supports it.
This commit is contained in:
parent
3df9b2c312
commit
0e228e9109
|
@ -67,7 +67,7 @@ void ContextImpl::init()
|
|||
}
|
||||
|
||||
{
|
||||
if ((m_glInfo.isGLESX && (m_glInfo.bufferStorage && m_glInfo.majorVersion * 10 + m_glInfo.minorVersion >= 32)) || !m_glInfo.isGLESX)
|
||||
if ((m_glInfo.isGLESX && m_glInfo.bufferStorage) || !m_glInfo.isGLESX)
|
||||
m_graphicsDrawer.reset(new BufferedDrawer(m_glInfo, m_cachedFunctions->getCachedVertexAttribArray(), m_cachedFunctions->getCachedBindBuffer()));
|
||||
else
|
||||
m_graphicsDrawer.reset(new UnbufferedDrawer(m_glInfo, m_cachedFunctions->getCachedVertexAttribArray()));
|
||||
|
|
Loading…
Reference in New Issue
Block a user