Changeset 27e580e in opengl-game
- Timestamp:
- Jun 1, 2022, 7:50:43 PM (3 years ago)
- Branches:
- feature/imgui-sdl
- Children:
- 6d698e5
- Parents:
- 67527a5
- Files:
-
- 1 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
VulkanGame.vcxproj
r67527a5 r27e580e 71 71 <PropertyGroup Label="UserMacros" /> 72 72 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'"> 73 <IncludePath> include;$(VULKAN_SDK)/Include;$(VULKAN_SDK)/Third-Party/Include;$(IncludePath)</IncludePath>74 <LibraryPath> lib;$(VULKAN_SDK)/Lib;$(LibraryPath)</LibraryPath>73 <IncludePath>$(VULKAN_SDK)/Include;$(VULKAN_SDK)/Third-Party/Include;$(IncludePath)</IncludePath> 74 <LibraryPath>$(VULKAN_SDK)/Lib;$(VULKAN_SDK)/Third-Party/Bin;$(LibraryPath)</LibraryPath> 75 75 </PropertyGroup> 76 76 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'"> 77 <IncludePath> include;$(VULKAN_SDK)/Include;$(VULKAN_SDK)/Third-Party/Include;$(IncludePath)</IncludePath>78 <LibraryPath> lib;$(VULKAN_SDK)/Lib;$(LibraryPath)</LibraryPath>77 <IncludePath>$(VULKAN_SDK)/Include;$(VULKAN_SDK)/Third-Party/Include;$(IncludePath)</IncludePath> 78 <LibraryPath>$(VULKAN_SDK)/Lib;$(VULKAN_SDK)/Third-Party/Bin;$(LibraryPath)</LibraryPath> 79 79 </PropertyGroup> 80 80 <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'"> … … 91 91 <Link> 92 92 <SubSystem>Console</SubSystem> 93 <AdditionalDependencies>SDL2.lib;SDL2main.lib; SDL2_image.lib;SDL2_ttf.lib;vulkan-1.lib;%(AdditionalDependencies)</AdditionalDependencies>93 <AdditionalDependencies>SDL2.lib;SDL2main.lib;vulkan-1.lib;%(AdditionalDependencies)</AdditionalDependencies> 94 94 </Link> 95 95 </ItemDefinitionGroup> … … 135 135 <EnableCOMDATFolding>true</EnableCOMDATFolding> 136 136 <OptimizeReferences>true</OptimizeReferences> 137 <AdditionalDependencies>SDL2.lib;SDL2main.lib; SDL2_image.lib;SDL2_ttf.lib;vulkan-1.lib;%(AdditionalDependencies)</AdditionalDependencies>137 <AdditionalDependencies>SDL2.lib;SDL2main.lib;vulkan-1.lib;%(AdditionalDependencies)</AdditionalDependencies> 138 138 </Link> 139 139 </ItemDefinitionGroup> -
game-gui-sdl.cpp
r67527a5 r27e580e 3 3 #include <map> 4 4 #include <queue> 5 6 #include <SDL2/SDL_ttf.h>7 5 8 6 #include "compiler.hpp" … … 28 26 29 27 if (SDL_Init(SDL_INIT_EVERYTHING) < 0) { 30 return RTWO_ERROR;31 }32 33 if (TTF_Init() == -1) {34 28 return RTWO_ERROR; 35 29 } -
vulkan-game.hpp
r67527a5 r27e580e 10 10 11 11 #include <SDL2/SDL.h> 12 #include <SDL2/SDL_ttf.h>13 12 14 13 #define GLM_FORCE_RADIANS
Note:
See TracChangeset
for help on using the changeset viewer.