Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Include emulation when on static ES2 #11

Closed
wants to merge 2 commits into from

2 participants

@greggman

No description provided.

@nigels-com
Collaborator

Would it suffice to use the ContextInfo::gles runtime flag, rather than the preprocessor logic?

  • Nigel
@nigels-com
Collaborator

I've made a change that ought to complement static ES2 - -DREGAL_FORCE_ES2_PROFILE=1.
This is for consistency with the existing REGAL_FORCE_CORE_PROFILE.
Let me know if this resolves the problem adequately.

  • Nigel
@nigels-com
Collaborator

Gregg,

Let me know if there is anything further needed for this.

  • Nigel
@greggman greggman closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Aug 29, 2012
  1. @greggman
  2. @greggman

    oops

    greggman authored
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 1 deletion.
  1. +1 −1  src/regal/RegalIff.cpp
View
2  src/regal/RegalIff.cpp
@@ -1421,7 +1421,7 @@ void Program::Uniforms( RegalContext * ctx, DispatchTable & tbl ) {
void RFF::InitFixedFunction( RegalContext * ctx ) {
-#if RGL_SYS_ANDROID || RGL_SYS_IOS
+#if RGL_SYS_ANDROID || RGL_SYS_IOS || REGAL_STATIC_ES2
es = true;
#else
es = GetProcAddress( "glClearDepth" ) == NULL;
Something went wrong with that request. Please try again.