This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <SDL.h> | |
#include <iostream> | |
#include <sstream> | |
#include <string> | |
#define STB_IMAGE_IMPLEMENTATION | |
#include "stb_image.h" // https://github.com/nothings/stb/blob/master/stb_image.h | |
int main(int argc, char* argv[]) | |
{ | |
std::string app_title = "SDL_Guide 03: Image Loading & Rendering"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Test helper for imgui_freetype | |
#include "misc/freetype/imgui_freetype.h" | |
struct FreeTypeTest | |
{ | |
enum FontBuildMode { FontBuildMode_FreeType, FontBuildMode_Stb }; | |
FontBuildMode BuildMode = FontBuildMode_FreeType; | |
bool WantRebuild = true; |