toInt method
Return an integer.
Implementation
int toInt() {
switch (this) {
case GLcontextReleaseFlag.none:
return SDL_GLcontextReleaseFlag.SDL_GL_CONTEXT_RELEASE_BEHAVIOR_NONE;
case GLcontextReleaseFlag.flush:
return SDL_GLcontextReleaseFlag.SDL_GL_CONTEXT_RELEASE_BEHAVIOR_FLUSH;
}
}