Skip to content

Commit

Permalink
TextureFormat.h quick fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Krogoth100 authored and sprunk committed Jul 21, 2023
1 parent dc40b24 commit 2f69b5f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rts/Rendering/Textures/TextureFormat.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

namespace GL
{
GLenum GetInternalFormatDataFormat(GLenum internalFormat) {
inline GLenum GetInternalFormatDataFormat(GLenum internalFormat) {
GLenum dataFormat;
switch (internalFormat) {
case GL_R8UI:
Expand Down Expand Up @@ -60,7 +60,7 @@ namespace GL
return dataFormat;
}

GLenum GetInternalFormatDataType(GLenum internalFormat) {
inline GLenum GetInternalFormatDataType(GLenum internalFormat) {
GLenum dataType;
switch (internalFormat) {
case GL_RGBA16F:
Expand Down

0 comments on commit 2f69b5f

Please sign in to comment.