Had to rename sfml to sfmlbackend because on Windows the filesystem is case insensitive so include <SFML/*> was accidentally including _my_ <sfml/config.hpp> file.
This commit is contained in:
parent
f3f2e90cd2
commit
06ca57e5da
19 changed files with 38 additions and 36 deletions
16
include/sfmlbackend/backend.hpp
Normal file
16
include/sfmlbackend/backend.hpp
Normal file
|
@ -0,0 +1,16 @@
|
|||
#include "guecs.hpp"
|
||||
|
||||
namespace sfml {
|
||||
class Backend : public guecs::Backend {
|
||||
int $shaders_version = 0;
|
||||
|
||||
public:
|
||||
|
||||
Backend();
|
||||
guecs::SpriteTexture texture_get(const string& name);
|
||||
void sound_play(const string& name);
|
||||
void sound_stop(const string& name);
|
||||
std::shared_ptr<sf::Shader> shader_get(const std::string& name);
|
||||
bool shader_updated();
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue