Set texture streaming flag to true by default

This commit is contained in:
scawful
2024-01-26 23:19:12 -05:00
parent df1cdb22f5
commit 5a3a693c59
2 changed files with 2 additions and 1 deletions

View File

@@ -48,7 +48,7 @@ class ExperimentFlags {
bool kLoadSystemFonts = true;
// Uses texture streaming from SDL for my dynamic updates.
bool kLoadTexturesAsStreaming = false;
bool kLoadTexturesAsStreaming = true;
// Save dungeon map edits to the ROM.
bool kSaveDungeonMaps = false;

View File

@@ -92,6 +92,7 @@ void HandleMouseMovement(int &wheel) {
io.MousePos = ImVec2(static_cast<float>(mouseX), static_cast<float>(mouseY));
io.MouseDown[0] = buttons & SDL_BUTTON(SDL_BUTTON_LEFT);
io.MouseDown[1] = buttons & SDL_BUTTON(SDL_BUTTON_RIGHT);
io.MouseDown[2] = buttons & SDL_BUTTON(SDL_BUTTON_MIDDLE);
io.MouseWheel = static_cast<float>(wheel);
}