equal
deleted
inserted
replaced
2062 |
2062 |
2063 /* Clear value in any case */ |
2063 /* Clear value in any case */ |
2064 *value = 0; |
2064 *value = 0; |
2065 |
2065 |
2066 switch (attr) { |
2066 switch (attr) { |
2067 case SDL_GL_RETAINED_BACKING: |
|
2068 *value = _this->gl_config.retained_backing; |
|
2069 return 0; |
|
2070 case SDL_GL_RED_SIZE: |
2067 case SDL_GL_RED_SIZE: |
2071 attrib = GL_RED_BITS; |
2068 attrib = GL_RED_BITS; |
2072 break; |
2069 break; |
2073 case SDL_GL_BLUE_SIZE: |
2070 case SDL_GL_BLUE_SIZE: |
2074 attrib = GL_BLUE_BITS; |
2071 attrib = GL_BLUE_BITS; |