From 4f27bd6ed3aac7a7c922626f48230fed6ad48362 Mon Sep 17 00:00:00 2001 From: ocornut Date: Mon, 9 Mar 2015 12:11:24 +0000 Subject: [PATCH] Examples: Moved gl3w to opengl3_example directory + fixed msvc project paths --- .../gl3w/GL/gl3w.c | 0 .../gl3w/GL/gl3w.h | 0 .../gl3w/GL/glcorearb.h | 0 examples/opengl3_example/opengl3_example.vcxproj | 12 +++++++----- .../opengl3_example.vcxproj.filters | 15 ++++++++++++--- examples/opengl_example/opengl_example.vcxproj | 8 ++++---- 6 files changed, 23 insertions(+), 12 deletions(-) rename examples/{opengl_example => opengl3_example}/gl3w/GL/gl3w.c (100%) rename examples/{opengl_example => opengl3_example}/gl3w/GL/gl3w.h (100%) rename examples/{opengl_example => opengl3_example}/gl3w/GL/glcorearb.h (100%) diff --git a/examples/opengl_example/gl3w/GL/gl3w.c b/examples/opengl3_example/gl3w/GL/gl3w.c similarity index 100% rename from examples/opengl_example/gl3w/GL/gl3w.c rename to examples/opengl3_example/gl3w/GL/gl3w.c diff --git a/examples/opengl_example/gl3w/GL/gl3w.h b/examples/opengl3_example/gl3w/GL/gl3w.h similarity index 100% rename from examples/opengl_example/gl3w/GL/gl3w.h rename to examples/opengl3_example/gl3w/GL/gl3w.h diff --git a/examples/opengl_example/gl3w/GL/glcorearb.h b/examples/opengl3_example/gl3w/GL/glcorearb.h similarity index 100% rename from examples/opengl_example/gl3w/GL/glcorearb.h rename to examples/opengl3_example/gl3w/GL/glcorearb.h diff --git a/examples/opengl3_example/opengl3_example.vcxproj b/examples/opengl3_example/opengl3_example.vcxproj index 60943559..cda336d2 100644 --- a/examples/opengl3_example/opengl3_example.vcxproj +++ b/examples/opengl3_example/opengl3_example.vcxproj @@ -39,18 +39,18 @@ $(ProjectDir)$(Configuration)\ $(ProjectDir)$(Configuration)\ - ../..;$(IncludePath) + $(IncludePath) $(ProjectDir)$(Configuration)\ $(ProjectDir)$(Configuration)\ - ../..;$(IncludePath) + $(IncludePath) Level3 Disabled - $(ProjectDir)..\opengl_example\glfw\include;$(ProjectDir)..\opengl_example\glew\include;$(ProjectDir)..\opengl_example\gl3w;%(AdditionalIncludeDirectories) + $(ProjectDir)..\opengl_example\glfw\include;gl3w;..\..;%(AdditionalIncludeDirectories) true @@ -66,7 +66,7 @@ MaxSpeed true true - $(ProjectDir)..\opengl_example\glfw\include;$(ProjectDir)..\opengl_example\glew\include;$(ProjectDir)..\opengl_example\gl3w;%(AdditionalIncludeDirectories) + $(ProjectDir)..\opengl_example\glfw\include;gl3w;..\..;%(AdditionalIncludeDirectories) true @@ -81,13 +81,15 @@ - + + + diff --git a/examples/opengl3_example/opengl3_example.vcxproj.filters b/examples/opengl3_example/opengl3_example.vcxproj.filters index 76f7fa3f..1c00552d 100644 --- a/examples/opengl3_example/opengl3_example.vcxproj.filters +++ b/examples/opengl3_example/opengl3_example.vcxproj.filters @@ -8,6 +8,9 @@ {f18ab499-84e1-499f-8eff-9754361e0e52} cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx + + {42f99867-3108-43b8-99d0-fabefaf1f2e3} + @@ -16,12 +19,12 @@ imgui - - sources - sources + + gl3w + @@ -33,5 +36,11 @@ sources + + gl3w + + + gl3w + \ No newline at end of file diff --git a/examples/opengl_example/opengl_example.vcxproj b/examples/opengl_example/opengl_example.vcxproj index 69b5df6f..6dc90454 100644 --- a/examples/opengl_example/opengl_example.vcxproj +++ b/examples/opengl_example/opengl_example.vcxproj @@ -39,18 +39,18 @@ $(ProjectDir)$(Configuration)\ $(ProjectDir)$(Configuration)\ - ../..;$(IncludePath) + $(IncludePath) $(ProjectDir)$(Configuration)\ $(ProjectDir)$(Configuration)\ - ../..;$(IncludePath) + $(IncludePath) Level3 Disabled - $(ProjectDir)\glfw\include;$(ProjectDir)\glew\include;%(AdditionalIncludeDirectories) + $(ProjectDir)\glfw\include;..\..;%(AdditionalIncludeDirectories) true @@ -66,7 +66,7 @@ MaxSpeed true true - $(ProjectDir)\glfw\include;$(ProjectDir)\glew\include;%(AdditionalIncludeDirectories) + $(ProjectDir)\glfw\include;..\..;%(AdditionalIncludeDirectories) true