diff options
-rw-r--r-- | bin/SDL2.dll | bin | 1242112 -> 771072 bytes | |||
-rw-r--r-- | bin/jin.exe | bin | 1688064 -> 529408 bytes | |||
-rw-r--r-- | bin/lua51.dll | bin | 364544 -> 364544 bytes | |||
-rw-r--r-- | build/vc++/3rdparty/SDL2/SDL2.vcxproj | 1 | ||||
-rw-r--r-- | build/vc++/jin/jin.vcxproj.user | 3 | ||||
-rw-r--r-- | src/3rdparty/LuaJIT-2.0.5/src/buildvm.lib | bin | 33996 -> 33996 bytes | |||
-rw-r--r-- | src/3rdparty/LuaJIT-2.0.5/src/minilua.lib | bin | 33996 -> 33996 bytes | |||
-rw-r--r-- | src/libjin/graphics/je_window.cpp | 3 |
8 files changed, 4 insertions, 3 deletions
diff --git a/bin/SDL2.dll b/bin/SDL2.dll Binary files differindex 80f03c3..cfb64e8 100644 --- a/bin/SDL2.dll +++ b/bin/SDL2.dll diff --git a/bin/jin.exe b/bin/jin.exe Binary files differindex e2e90fc..ee85f6b 100644 --- a/bin/jin.exe +++ b/bin/jin.exe diff --git a/bin/lua51.dll b/bin/lua51.dll Binary files differindex 7e7acf9..db08400 100644 --- a/bin/lua51.dll +++ b/bin/lua51.dll diff --git a/build/vc++/3rdparty/SDL2/SDL2.vcxproj b/build/vc++/3rdparty/SDL2/SDL2.vcxproj index 91570e3..359b967 100644 --- a/build/vc++/3rdparty/SDL2/SDL2.vcxproj +++ b/build/vc++/3rdparty/SDL2/SDL2.vcxproj @@ -126,6 +126,7 @@ <EnableEnhancedInstructionSet>StreamingSIMDExtensions</EnableEnhancedInstructionSet> <OmitDefaultLibName>true</OmitDefaultLibName> <WholeProgramOptimization>false</WholeProgramOptimization> + <FavorSizeOrSpeed>Neither</FavorSizeOrSpeed> </ClCompile> <Link> <EnableCOMDATFolding>true</EnableCOMDATFolding> diff --git a/build/vc++/jin/jin.vcxproj.user b/build/vc++/jin/jin.vcxproj.user index 5943b15..de59195 100644 --- a/build/vc++/jin/jin.vcxproj.user +++ b/build/vc++/jin/jin.vcxproj.user @@ -3,8 +3,7 @@ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'"> <LocalDebuggerWorkingDirectory>$(ProjectDir)..\..\..\bin</LocalDebuggerWorkingDirectory> <DebuggerFlavor>WindowsLocalDebugger</DebuggerFlavor> - <LocalDebuggerCommandArguments> - </LocalDebuggerCommandArguments> + <LocalDebuggerCommandArguments>.</LocalDebuggerCommandArguments> </PropertyGroup> <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'"> <LocalDebuggerWorkingDirectory>$(ProjectDir)..\..\..\bin</LocalDebuggerWorkingDirectory> diff --git a/src/3rdparty/LuaJIT-2.0.5/src/buildvm.lib b/src/3rdparty/LuaJIT-2.0.5/src/buildvm.lib Binary files differindex c7be727..be22bd4 100644 --- a/src/3rdparty/LuaJIT-2.0.5/src/buildvm.lib +++ b/src/3rdparty/LuaJIT-2.0.5/src/buildvm.lib diff --git a/src/3rdparty/LuaJIT-2.0.5/src/minilua.lib b/src/3rdparty/LuaJIT-2.0.5/src/minilua.lib Binary files differindex e2b3ac3..1a4ed3f 100644 --- a/src/3rdparty/LuaJIT-2.0.5/src/minilua.lib +++ b/src/3rdparty/LuaJIT-2.0.5/src/minilua.lib diff --git a/src/libjin/graphics/je_window.cpp b/src/libjin/graphics/je_window.cpp index e7cdf06..6572304 100644 --- a/src/libjin/graphics/je_window.cpp +++ b/src/libjin/graphics/je_window.cpp @@ -56,6 +56,7 @@ namespace JinEngine SDL_GL_SetAttribute(SDL_GL_ALPHA_SIZE, 8); SDL_GL_SetAttribute(SDL_GL_STENCIL_SIZE, 8); SDL_GL_SetAttribute(SDL_GL_DOUBLEBUFFER, 1); + SDL_GL_SetAttribute(SDL_GL_RETAINED_BACKING, 0); int wx = SDL_WINDOWPOS_UNDEFINED, wy = SDL_WINDOWPOS_UNDEFINED; @@ -82,7 +83,7 @@ namespace JinEngine } catch (...) {} ctx = SDL_GL_CreateContext(mWnd); - if (ctx == NULL) + if (ctx == NULL) return false; SDL_GL_SetSwapInterval(vsync ? 1 : 0); SDL_GL_MakeCurrent(mWnd, ctx); |