Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
markaren committed Oct 7, 2024
1 parent 12b4d0a commit ee19bbd
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/threepp/renderers/gl/GLUtils.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ namespace threepp::gl {
return result;
}

constexpr inline GLuint toGLFormat(Format p) {
constexpr GLuint toGLFormat(Format p) {

switch (p) {
case Format::Alpha:
Expand All @@ -34,6 +34,8 @@ namespace threepp::gl {
return GL_RGB;
case Format::RGBA:
return GL_RGBA;
case Format::BGRA:
return GL_BGRA;
case Format::Luminance:
return GL_LUMINANCE;
case Format::LuminanceAlpha:
Expand Down

0 comments on commit ee19bbd

Please sign in to comment.