Skip to content

Commit

Permalink
Use SDL2 namespace when including SDL headers
Browse files Browse the repository at this point in the history
  • Loading branch information
orzechow committed Nov 13, 2024
1 parent 8429862 commit c0eb7ba
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion demo/include/demo/types.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#include <utility>
#include <vector>

#include <SDL_scancode.h>
#include <SDL2/SDL_scancode.h>
#include <arbitration_graphs/types.hpp>
#include <entt/entity/registry.hpp>
#include <pacman/comp/dir.hpp>
Expand Down
2 changes: 1 addition & 1 deletion demo/include/utils/pacman_wrapper.hpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#pragma once

#include <SDL.h>
#include <SDL2/SDL.h>

#include <pacman/core/game.hpp>
#include <pacman/util/sdl_delete.hpp>
Expand Down
2 changes: 1 addition & 1 deletion demo/src/pacman_wrapper.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#include "utils/pacman_wrapper.hpp"

#include <SDL_main.h>
#include <SDL2/SDL_main.h>

#include <pacman/core/constants.hpp>
#include <pacman/util/frame_cap.hpp>
Expand Down

0 comments on commit c0eb7ba

Please sign in to comment.