mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
Android GL fixes.
This commit is contained in:
parent
d0d74175e0
commit
dc24fdffb5
2 changed files with 6 additions and 1 deletions
|
|
@ -96,7 +96,7 @@ void OpenGLExtensionFunctions::initialise()
|
|||
|
||||
#if JUCE_OPENGL_ES
|
||||
#define JUCE_DECLARE_GL_FUNCTION(name, returnType, params, callparams) \
|
||||
inline returnType OpenGLExtensionFunctions::name params { return ::name callparams; }
|
||||
returnType OpenGLExtensionFunctions::name params { return ::name callparams; }
|
||||
|
||||
JUCE_GL_EXTENSION_FUNCTIONS (JUCE_DECLARE_GL_FUNCTION, JUCE_DECLARE_GL_FUNCTION)
|
||||
#undef JUCE_DECLARE_GL_FUNCTION
|
||||
|
|
|
|||
|
|
@ -414,7 +414,12 @@ void OpenGLContext::NativeContext::renderCallback()
|
|||
isInsideGLCallback = true;
|
||||
|
||||
if (CachedImage* const c = CachedImage::get (component))
|
||||
{
|
||||
if (c->context.continuousRepaint)
|
||||
c->context.triggerRepaint();
|
||||
|
||||
c->renderFrame();
|
||||
}
|
||||
|
||||
isInsideGLCallback = false;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue