src/render/opengl/SDL_shaders_gl.h
changeset 12366 c46e72bd9950
parent 11811 5d94cb6b24d3
child 12381 dc9108cd4340
equal deleted inserted replaced
12365:09e3ef028bc8 12366:c46e72bd9950
    16      appreciated but is not required.
    16      appreciated but is not required.
    17   2. Altered source versions must be plainly marked as such, and must not be
    17   2. Altered source versions must be plainly marked as such, and must not be
    18      misrepresented as being the original software.
    18      misrepresented as being the original software.
    19   3. This notice may not be removed or altered from any source distribution.
    19   3. This notice may not be removed or altered from any source distribution.
    20 */
    20 */
       
    21 
       
    22 #ifndef SDL_shaders_gl_h_
       
    23 #define SDL_shaders_gl_h_
       
    24 
    21 #include "../../SDL_internal.h"
    25 #include "../../SDL_internal.h"
    22 
    26 
    23 /* OpenGL shader implementation */
    27 /* OpenGL shader implementation */
    24 
    28 
    25 typedef enum {
    29 typedef enum {
    42 
    46 
    43 extern GL_ShaderContext * GL_CreateShaderContext(void);
    47 extern GL_ShaderContext * GL_CreateShaderContext(void);
    44 extern void GL_SelectShader(GL_ShaderContext *ctx, GL_Shader shader);
    48 extern void GL_SelectShader(GL_ShaderContext *ctx, GL_Shader shader);
    45 extern void GL_DestroyShaderContext(GL_ShaderContext *ctx);
    49 extern void GL_DestroyShaderContext(GL_ShaderContext *ctx);
    46 
    50 
       
    51 #endif /* SDL_shaders_gl_h_ */
       
    52 
    47 /* vi: set ts=4 sw=4 expandtab: */
    53 /* vi: set ts=4 sw=4 expandtab: */