Skip to content

Commit

Permalink
graphics: add minor formatting fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Hedede committed Apr 6, 2024
1 parent e24a0d1 commit 7701447
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 9 deletions.
6 changes: 2 additions & 4 deletions graphics/include/aw/graphics/gl/awgl/shader_enum.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,7 @@
#include <aw/graphics/gl/api/types.h>
#include <aw/types/string_view.h>
#include <aw/utility/builtins.h>
namespace aw {
namespace gl {
namespace aw::gl {
enum class shader_handle : GLuint {};
enum class program_handle : GLuint {};
enum class uniform_location : GLint {};
Expand Down Expand Up @@ -57,6 +56,5 @@ enum class program_param : GLenum {
link_status = 0x8B82,
info_log_length = 0x8B84,
};
} // namespace gl
} // namespace aw
} // namespace aw::gl
#endif//aw_graphics_awgl_shader_enum_h
8 changes: 3 additions & 5 deletions graphics/include/aw/graphics/gl/program_manager.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,12 @@
*/
#ifndef aw_graphics_gl3_program_manager_h
#define aw_graphics_gl3_program_manager_h
#include <aw/graphics/gl/program.h>
#include <aw/graphics/export.h>
#include <aw/graphics/gl/program.h>
#include <aw/types/string_view.h>
//#include <aw/types/containers/flat_map.h>
#include <vector>
namespace aw {
namespace gl3 {
namespace aw::gl3 {
struct program_uniform_locations {
uniform_location model_to_camera;
};
Expand Down Expand Up @@ -73,6 +72,5 @@ struct AW_GRAPHICS_EXP program_manager {
std::vector<program_aux> aux;
};

} // namespace gl3
} // namespace aw
} // namespace aw::gl3
#endif//aw_graphics_gl3_program_manager_h

0 comments on commit 7701447

Please sign in to comment.