Fix tiled textures not showing up on newer OSX

This commit is contained in:
2022-07-05 09:52:24 -04:00
parent f5620f34b4
commit a69d92d8dc

View File

@@ -10,6 +10,7 @@
#include <unordered_map> #include <unordered_map>
#include <SFML/Graphics.hpp> #include <SFML/Graphics.hpp>
#include <SFML/OpenGL.hpp>
#include "res_image.hpp" #include "res_image.hpp"
#include "render_image.hpp" #include "render_image.hpp"
#include "render_shapes.hpp" #include "render_shapes.hpp"
@@ -110,4 +111,5 @@ void init_tiling() {
} }
bg[i] = prepareForTiling(bg_gworld, bg_rects[i]); bg[i] = prepareForTiling(bg_gworld, bg_rects[i]);
} }
glFlush();
} }