Set texture streaming flag to true by default
This commit is contained in:
@@ -48,7 +48,7 @@ class ExperimentFlags {
|
|||||||
bool kLoadSystemFonts = true;
|
bool kLoadSystemFonts = true;
|
||||||
|
|
||||||
// Uses texture streaming from SDL for my dynamic updates.
|
// Uses texture streaming from SDL for my dynamic updates.
|
||||||
bool kLoadTexturesAsStreaming = false;
|
bool kLoadTexturesAsStreaming = true;
|
||||||
|
|
||||||
// Save dungeon map edits to the ROM.
|
// Save dungeon map edits to the ROM.
|
||||||
bool kSaveDungeonMaps = false;
|
bool kSaveDungeonMaps = false;
|
||||||
|
|||||||
@@ -92,6 +92,7 @@ void HandleMouseMovement(int &wheel) {
|
|||||||
io.MousePos = ImVec2(static_cast<float>(mouseX), static_cast<float>(mouseY));
|
io.MousePos = ImVec2(static_cast<float>(mouseX), static_cast<float>(mouseY));
|
||||||
io.MouseDown[0] = buttons & SDL_BUTTON(SDL_BUTTON_LEFT);
|
io.MouseDown[0] = buttons & SDL_BUTTON(SDL_BUTTON_LEFT);
|
||||||
io.MouseDown[1] = buttons & SDL_BUTTON(SDL_BUTTON_RIGHT);
|
io.MouseDown[1] = buttons & SDL_BUTTON(SDL_BUTTON_RIGHT);
|
||||||
|
io.MouseDown[2] = buttons & SDL_BUTTON(SDL_BUTTON_MIDDLE);
|
||||||
io.MouseWheel = static_cast<float>(wheel);
|
io.MouseWheel = static_cast<float>(wheel);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user