_this->gl_config.release_behavior = SDL_GL_CONTEXT_RELEASE_BEHAVIOR_FLUSH;
_this->gl_config.share_with_current_context = 0;
+#ifdef __TIZEN__
+ _this->gl_config.context_priority_level = SDL_GL_CONTEXT_PRIORITY_NONE;
+#endif
}
int
case SDL_GL_CONTEXT_RELEASE_BEHAVIOR:
_this->gl_config.release_behavior = value;
break;
+#ifdef __TIZEN__
+ case SDL_GL_CONTEXT_PRIORITY:
+ _this->gl_config.context_priority_level = value;
+ break;
+#endif
default:
retval = SDL_SetError("Unknown OpenGL attribute");
break;
*value = _this->gl_config.framebuffer_srgb_capable;
return 0;
}
+#ifdef __TIZEN__
+ case SDL_GL_CONTEXT_PRIORITY:
+ {
+ *value = _this->gl_config.context_priority_level;
+ return 0;
+ }
+#endif
default:
return SDL_SetError("Unknown OpenGL attribute");
}