This commit is contained in:
Riley Labrecque
2023-06-03 16:30:39 -07:00
parent 1263fbb403
commit 009fa4e3c7
43 changed files with 379 additions and 198 deletions
+1 -1
View File
@@ -64,7 +64,7 @@ RELEASE_CXXFLAGS := $(RELEASE_CFLAGS)
MACOS_FRAMEWORKS :=
LDFLAGS := $(shell STEAM_RUNTIME_ROOT=$(STEAM_RUNTIME_ROOT) $(SDL_CONFIG) --libs) -lSDL2_ttf -lfreetype -lz -lGL -lopenal
LDFLAGS := $(shell STEAM_RUNTIME_ROOT=$(STEAM_RUNTIME_ROOT) $(SDL_CONFIG) --libs) -lSDL3_ttf -lfreetype -lz -lGL -lopenal
DEBUG_LDFLAGS :=
RELEASE_LDGLAGS :=
+1 -1
View File
@@ -931,7 +931,7 @@ bool CGameEngineGL::BDrawString( HGAMEFONT hFont, RECT rect, DWORD dwColor, DWOR
m_MapTextures[ hTexture ].m_uWidth = surface->w;
m_MapTextures[ hTexture ].m_uHeight = surface->h;
SDL_FreeSurface( surface );
SDL_DestroySurface( surface );
m_MapStrings[ std::string(szFontPrefix) + std::string(pchText) ] = hTexture;
}
+3 -3
View File
@@ -15,9 +15,9 @@ typedef unsigned char byte;
#include <AL/al.h>
#include <AL/alc.h>
#include <SDL2/SDL.h>
#include <SDL2/SDL_opengl.h>
#include <SDL2/SDL_ttf.h>
#include <SDL3/SDL.h>
#include <SDL3/SDL_opengl.h>
#include <SDL3/SDL_ttf.h>
#include <string>
#include <set>