From 899cb3b4e968d9b292f69695e3eb65771f8a047a Mon Sep 17 00:00:00 2001 From: ocornut Date: Mon, 16 Nov 2015 22:13:06 +0100 Subject: [PATCH] Examples: SDL+OpenGL3: Fixed readme (#356) --- examples/sdl_opengl3_example/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/sdl_opengl3_example/README.md b/examples/sdl_opengl3_example/README.md index a0d94cfee..30d3a09cd 100644 --- a/examples/sdl_opengl3_example/README.md +++ b/examples/sdl_opengl3_example/README.md @@ -11,12 +11,12 @@ cl /Zi /MD /I ..\.. /I ..\libs\gl3w /I %SDL2DIR%\include main.cpp imgui_impl_sdl - On Linux and similar Unixes ``` -c++ `sdl2-config --cflags` -I ../.. -I ../libs/gl3w main.cpp imgui_impl_sdl.cpp ../../imgui*.cpp ../libs/gl3w/GL/gl3w.c `sdl2-config --libs` -lGL -o sdl2example +c++ `sdl2-config --cflags` -I ../.. -I ../libs/gl3w main.cpp imgui_impl_sdl_gl3.cpp ../../imgui*.cpp ../libs/gl3w/GL/gl3w.c `sdl2-config --libs` -lGL -o sdl2example ``` - On Mac OS X ``` brew install sdl2 -c++ `sdl2-config --cflags` -I ../.. -I ../libs/gl3w main.cpp imgui_impl_sdl.cpp ../../imgui*.cpp ../libs/gl3w/GL/gl3w.c `sdl2-config --libs` -framework OpenGl -o sdl2example +c++ `sdl2-config --cflags` -I ../.. -I ../libs/gl3w main.cpp imgui_impl_sdl_gl3.cpp ../../imgui*.cpp ../libs/gl3w/GL/gl3w.c `sdl2-config --libs` -framework OpenGl -o sdl2example ```