# SDL_HINT_RENDER_OPENGL_SHADERS

A variable controlling whether the OpenGL render driver uses shaders if they are available.

## Header File

Defined in [SDL_hints.h](https://github.com/libsdl-org/SDL/blob/SDL2/include/SDL_hints.h)

## Syntax

```c
#define SDL_HINT_RENDER_OPENGL_SHADERS      "SDL_RENDER_OPENGL_SHADERS"
```

## Remarks

This variable can be set to the following values:

- "0": Disable shaders
- "1": Enable shaders

By default shaders are used if OpenGL supports them.

----
[CategoryAPI](CategoryAPI), [CategoryAPIMacro](CategoryAPIMacro), [CategoryHints](CategoryHints)

