From f4379d7889aefebeb67a57386215dd6e3840e16c Mon Sep 17 00:00:00 2001 From: Zachary Lund Date: Sat, 25 Jan 2014 23:23:26 -0600 Subject: [PATCH] Changed constness on passed argument, updated VC++ project files --- libobs-opengl/gl-subsystem.c | 2 +- vs/2013/OBS.sln | 11 ----------- vs/2013/libobs-opengl/libobs-opengl.vcxproj | 18 ++++++++++-------- .../libobs-opengl.vcxproj.filters | 6 ++++++ vs/2013/obs-studio/obs-studio.vcxproj | 4 ++-- 5 files changed, 19 insertions(+), 22 deletions(-) diff --git a/libobs-opengl/gl-subsystem.c b/libobs-opengl/gl-subsystem.c index 08d639bd2..4674a501c 100644 --- a/libobs-opengl/gl-subsystem.c +++ b/libobs-opengl/gl-subsystem.c @@ -57,7 +57,7 @@ static const char* debug_severity_table[] = { static void APIENTRY gl_debug_proc( GLenum source, GLenum type, GLuint id, GLenum severity, - GLsizei length, const GLchar *message, GLvoid *data ) + GLsizei length, const GLchar *message, const GLvoid *data ) { blog( LOG_DEBUG, "[%s][%s]{%s}: %.*s", diff --git a/vs/2013/OBS.sln b/vs/2013/OBS.sln index 9eaefac8c..e9d5e54f8 100644 --- a/vs/2013/OBS.sln +++ b/vs/2013/OBS.sln @@ -27,12 +27,9 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "test-input", "test-input\te EndProject Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libobs-opengl", "libobs-opengl\libobs-opengl.vcxproj", "{B6EAE19B-79BF-4F7C-9E66-976D14B9DC6C}" ProjectSection(ProjectDependencies) = postProject - {664E6F0D-6784-4760-9565-D54F8EB1EDF4} = {664E6F0D-6784-4760-9565-D54F8EB1EDF4} {6F1AC2AE-6424-401A-AF9F-A771E6BEE026} = {6F1AC2AE-6424-401A-AF9F-A771E6BEE026} EndProjectSection EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "glew_static", "..\..\libobs-opengl\glew\build\vc10\glew_static.vcxproj", "{664E6F0D-6784-4760-9565-D54F8EB1EDF4}" -EndProject Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "jansson", "..\..\deps\jansson\win32\vs2010\jansson.vcxproj", "{76226D20-1972-4789-A595-EDACC7A76DC3}" EndProject Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "obs-ffmpeg", "obs-ffmpeg\obs-ffmpeg.vcxproj", "{36970254-B1E5-4BE6-A561-301B6E7CDCE3}" @@ -98,14 +95,6 @@ Global {B6EAE19B-79BF-4F7C-9E66-976D14B9DC6C}.Release|Win32.Build.0 = Release|Win32 {B6EAE19B-79BF-4F7C-9E66-976D14B9DC6C}.Release|x64.ActiveCfg = Release|x64 {B6EAE19B-79BF-4F7C-9E66-976D14B9DC6C}.Release|x64.Build.0 = Release|x64 - {664E6F0D-6784-4760-9565-D54F8EB1EDF4}.Debug|Win32.ActiveCfg = Debug|Win32 - {664E6F0D-6784-4760-9565-D54F8EB1EDF4}.Debug|Win32.Build.0 = Debug|Win32 - {664E6F0D-6784-4760-9565-D54F8EB1EDF4}.Debug|x64.ActiveCfg = Debug|x64 - {664E6F0D-6784-4760-9565-D54F8EB1EDF4}.Debug|x64.Build.0 = Debug|x64 - {664E6F0D-6784-4760-9565-D54F8EB1EDF4}.Release|Win32.ActiveCfg = Release|Win32 - {664E6F0D-6784-4760-9565-D54F8EB1EDF4}.Release|Win32.Build.0 = Release|Win32 - {664E6F0D-6784-4760-9565-D54F8EB1EDF4}.Release|x64.ActiveCfg = Release|x64 - {664E6F0D-6784-4760-9565-D54F8EB1EDF4}.Release|x64.Build.0 = Release|x64 {76226D20-1972-4789-A595-EDACC7A76DC3}.Debug|Win32.ActiveCfg = Debug|Win32 {76226D20-1972-4789-A595-EDACC7A76DC3}.Debug|Win32.Build.0 = Debug|Win32 {76226D20-1972-4789-A595-EDACC7A76DC3}.Debug|x64.ActiveCfg = Debug|Win32 diff --git a/vs/2013/libobs-opengl/libobs-opengl.vcxproj b/vs/2013/libobs-opengl/libobs-opengl.vcxproj index 5a0db67b9..2cf73044b 100644 --- a/vs/2013/libobs-opengl/libobs-opengl.vcxproj +++ b/vs/2013/libobs-opengl/libobs-opengl.vcxproj @@ -92,8 +92,8 @@ Windows true - ../../../libobs-opengl/glew/lib/Debug/Win32/;$(OutDir);%(AdditionalLibraryDirectories) - glew32sd.lib;opengl32.lib;libobs.lib;%(AdditionalDependencies) + $(OutDir);%(AdditionalLibraryDirectories) + opengl32.lib;libobs.lib;%(AdditionalDependencies) copy "$(OutDir)$(TargetName)$(TargetExt)" "../../../build/bin/32bit/$(TargetName)$(TargetExt)" @@ -113,8 +113,8 @@ Windows true - ../../../libobs-opengl/glew/lib/Debug/x64/;$(OutDir);%(AdditionalLibraryDirectories) - glew32sd.lib;opengl32.lib;libobs.lib;%(AdditionalDependencies) + $(OutDir);%(AdditionalLibraryDirectories) + opengl32.lib;libobs.lib;%(AdditionalDependencies) copy "$(OutDir)$(TargetName)$(TargetExt)" "../../../build/bin/64bit/$(TargetName)$(TargetExt)" @@ -138,8 +138,8 @@ true true true - ../../../libobs-opengl/glew/lib/Release/Win32/;$(OutDir);%(AdditionalLibraryDirectories) - glew32s.lib;opengl32.lib;libobs.lib;%(AdditionalDependencies) + $(OutDir);%(AdditionalLibraryDirectories) + opengl32.lib;libobs.lib;%(AdditionalDependencies) copy "$(OutDir)$(TargetName)$(TargetExt)" "../../../build/bin/32bit/$(TargetName)$(TargetExt)" @@ -163,8 +163,8 @@ true true true - ../../../libobs-opengl/glew/lib/Release/x64/;$(OutDir);%(AdditionalLibraryDirectories) - glew32s.lib;opengl32.lib;libobs.lib;%(AdditionalDependencies) + $(OutDir);%(AdditionalLibraryDirectories) + opengl32.lib;libobs.lib;%(AdditionalDependencies) copy "$(OutDir)$(TargetName)$(TargetExt)" "../../../build/bin/64bit/$(TargetName)$(TargetExt)" @@ -188,6 +188,8 @@ + + diff --git a/vs/2013/libobs-opengl/libobs-opengl.vcxproj.filters b/vs/2013/libobs-opengl/libobs-opengl.vcxproj.filters index ec394c1d1..d19346659 100644 --- a/vs/2013/libobs-opengl/libobs-opengl.vcxproj.filters +++ b/vs/2013/libobs-opengl/libobs-opengl.vcxproj.filters @@ -62,5 +62,11 @@ Source Files + + Source Files + + + Source Files + \ No newline at end of file diff --git a/vs/2013/obs-studio/obs-studio.vcxproj b/vs/2013/obs-studio/obs-studio.vcxproj index 6af06e8d8..1aa7b5db3 100644 --- a/vs/2013/obs-studio/obs-studio.vcxproj +++ b/vs/2013/obs-studio/obs-studio.vcxproj @@ -419,7 +419,7 @@ libobs.lib;qtmaind.lib;Qt5Cored.lib;Qt5Guid.lib;Qt5Widgetsd.lib;%(AdditionalDependencies) - copy "$(OutDir)$(TargetName)$(TargetExt)" "../../../build/bin/64bit/$(TargetName)$(TargetExt)" + copy "$(OutDir)$(TargetName)$(TargetExt)" "../../../build/bin/32bit/$(TargetName)$(TargetExt)" @@ -458,7 +458,7 @@ libobs.lib;qtmain.lib;Qt5Core.lib;Qt5Gui.lib;Qt5Widgets.lib;%(AdditionalDependencies) - copy "$(OutDir)$(TargetName)$(TargetExt)" "../../../build/bin/64bit/$(TargetName)$(TargetExt)" + copy "$(OutDir)$(TargetName)$(TargetExt)" "../../../build/bin/32bit/$(TargetName)$(TargetExt)"