#include "Base/spStandard.hpp"
#include <OpenGL/gl.h>
#include <OpenGL/glext.h>
#include <OpenGLES/ES1/gl.h>
#include <OpenGLES/ES1/glext.h>
#include <OpenGLES/ES2/gl.h>
#include <OpenGLES/ES2/glext.h>
Go to the source code of this file.
Define Documentation
#define ChangeRenderStateForEachContext |
( |
|
c |
) |
|
Value:if (ContextList_.size() > 1 && UseAllRCs) \
{ \
RenderContext* PrevContext = RenderContext::getActiveRenderContext(); \
foreach (RenderContext* Context, ContextList_) \
{ \
Context->activate(); \
c \
} \
if (PrevContext) \
PrevContext->activate(); \
} \
else \
{ \
c \
}