Fixed recursive call bug
This commit is contained in:
parent
4e6e0f53be
commit
1020bddb15
@ -442,7 +442,7 @@ void State::glDrawBuffer(GLenum buffer)
|
|||||||
if (_drawBuffer!=buffer)
|
if (_drawBuffer!=buffer)
|
||||||
{
|
{
|
||||||
#if !defined(OSG_GLES1_AVAILABLE) && !defined(OSG_GLES2_AVAILABLE) && !defined(OSG_GLES3_AVAILABLE)
|
#if !defined(OSG_GLES1_AVAILABLE) && !defined(OSG_GLES2_AVAILABLE) && !defined(OSG_GLES3_AVAILABLE)
|
||||||
glDrawBuffer(buffer);
|
::glDrawBuffer(buffer);
|
||||||
#endif
|
#endif
|
||||||
_drawBuffer=buffer;
|
_drawBuffer=buffer;
|
||||||
}
|
}
|
||||||
@ -453,7 +453,7 @@ void State::glReadBuffer(GLenum buffer)
|
|||||||
if (_readBuffer!=buffer)
|
if (_readBuffer!=buffer)
|
||||||
{
|
{
|
||||||
#if !defined(OSG_GLES1_AVAILABLE) && !defined(OSG_GLES2_AVAILABLE) && !defined(OSG_GLES3_AVAILABLE)
|
#if !defined(OSG_GLES1_AVAILABLE) && !defined(OSG_GLES2_AVAILABLE) && !defined(OSG_GLES3_AVAILABLE)
|
||||||
glReadBuffer(buffer);
|
::glReadBuffer(buffer);
|
||||||
#endif
|
#endif
|
||||||
_readBuffer=buffer;
|
_readBuffer=buffer;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user