Fix tiled textures not showing up on newer OSX
This commit is contained in:
@@ -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();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user