From d6c51bb5f52981f635dcfc1c5c3e856a773fd804 Mon Sep 17 00:00:00 2001 From: Cobrand Date: Sun, 12 Nov 2017 00:38:33 +0000 Subject: [PATCH] Change OpenGL help section in README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 477fdcbf..b25c477b 100644 --- a/README.md +++ b/README.md @@ -351,8 +351,6 @@ You have two options to use OpenGL with sdl2: ## Use sdl2::render -Then you need to add some initialization code to establish the bindings. - First, find the OpenGL driver from SDL: ```rust @@ -366,6 +364,8 @@ fn find_sdl_gl_driver() -> Option { } ``` +This is especially relevant on non-linux systems where the default render engine will something else (for instance DirectX on Windows). + Next, initialize the SDL2 subsystems, and create your window with the OpenGL canvas: ```rust