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:
Zed A. Shaw 2025-05-08 02:27:02 -04:00
parent f3f2e90cd2
commit 06ca57e5da
19 changed files with 38 additions and 36 deletions

View file

@ -1,7 +1,7 @@
#include "sfml/backend.hpp"
#include "sfml/shaders.hpp"
#include "sfml/sound.hpp"
#include "sfml/textures.hpp"
#include "sfmlbackend/backend.hpp"
#include "sfmlbackend/shaders.hpp"
#include "sfmlbackend/sound.hpp"
#include "sfmlbackend/textures.hpp"
namespace sfml {
guecs::SpriteTexture Backend::texture_get(const string& name) {

View file

@ -1,5 +1,5 @@
#include "guecs.hpp"
#include "sfml/backend.hpp"
#include "sfmlbackend/backend.hpp"
namespace guecs {
static Backend* BACKEND = nullptr;

View file

@ -1,4 +1,4 @@
#include "sfml/config.hpp"
#include "sfmlbackend/config.hpp"
#include "dbc.hpp"
#include <fmt/core.h>

View file

@ -1,8 +1,8 @@
#include "sfml/shaders.hpp"
#include "sfmlbackend/shaders.hpp"
#include <SFML/Graphics/Image.hpp>
#include "dbc.hpp"
#include <fmt/core.h>
#include "sfml/config.hpp"
#include "sfmlbackend/config.hpp"
#include <memory>
namespace shaders {

View file

@ -1,7 +1,7 @@
#include "sfml/sound.hpp"
#include "sfmlbackend/sound.hpp"
#include "dbc.hpp"
#include <fmt/core.h>
#include "sfml/config.hpp"
#include "sfmlbackend/config.hpp"
namespace sound {
static SoundManager SMGR;

View file

@ -1,8 +1,8 @@
#include "sfml/textures.hpp"
#include "sfmlbackend/textures.hpp"
#include <SFML/Graphics/Image.hpp>
#include "dbc.hpp"
#include <fmt/core.h>
#include "sfml/config.hpp"
#include "sfmlbackend/config.hpp"
#include <memory>
namespace textures {