summaryrefslogtreecommitdiff
path: root/examples/example_video.c
diff options
context:
space:
mode:
authorTuomas Virtanen <katajakasa@gmail.com>2018-03-31 17:13:20 +0300
committerTuomas Virtanen <katajakasa@gmail.com>2018-03-31 17:13:20 +0300
commitf5188876ce863b26f1f5c9c00cb788642ad84afd (patch)
treee535cd7ea6bd0b298b4748cafc47eb243b5b20c2 /examples/example_video.c
parent77f1a8d1eb514b65c7f816933b4d11b4a0ce574b (diff)
Let the video example use whatever renderer
Diffstat (limited to 'examples/example_video.c')
-rw-r--r--examples/example_video.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/examples/example_video.c b/examples/example_video.c
index cef0b8c..a91b025 100644
--- a/examples/example_video.c
+++ b/examples/example_video.c
@@ -82,9 +82,6 @@ int main(int argc, char *argv[]) {
return 1;
}
- // Attempt to acquire opengl driver context
- SDL_SetHint(SDL_HINT_RENDER_DRIVER, "opengl");
-
// Create a resizable window.
window = SDL_CreateWindow("Example Player", SDL_WINDOWPOS_UNDEFINED, SDL_WINDOWPOS_UNDEFINED, 1280, 720, SDL_WINDOW_RESIZABLE);
if(window == NULL) {