summary refs log tree commit diff stats
path: root/src/renderer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/renderer.cpp')
-rw-r--r--src/renderer.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/renderer.cpp b/src/renderer.cpp index 1aa5cbf..b24ddbf 100644 --- a/src/renderer.cpp +++ b/src/renderer.cpp
@@ -114,6 +114,9 @@ Renderer::Renderer()
114 loadTextureFromFile("../res/title0.png", titles_[0]); 114 loadTextureFromFile("../res/title0.png", titles_[0]);
115 SDL_QueryTexture(titles_[0].get(), nullptr, nullptr, &titleWidths_[0], &titleHeights_[0]); 115 SDL_QueryTexture(titles_[0].get(), nullptr, nullptr, &titleWidths_[0], &titleHeights_[0]);
116 116
117 loadTextureFromFile("../res/title3.png", titles_[1]);
118 SDL_QueryTexture(titles_[1].get(), nullptr, nullptr, &titleWidths_[1], &titleHeights_[1]);
119
117 font_ = font_ptr(TTF_OpenFont("../res/softsquare.ttf", 45)); 120 font_ = font_ptr(TTF_OpenFont("../res/softsquare.ttf", 45));
118 if (!font_) { 121 if (!font_) {
119 throw ttf_error(); 122 throw ttf_error();