Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
skyjake committed Sep 1, 2019
1 parent 24a8dfc commit 525be96
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions doomsday/libs/gui/src/graphics/glframebuffer.cpp
Expand Up @@ -174,14 +174,14 @@ DENG2_OBSERVES(Asset, Deletion)
{
return DepthBuffer;
}
if (flags == Stencil)
{
return StencilBuffer;
}
if (flags == DepthStencil)
{
return DepthStencilBuffer;
}
if (flags == Stencil)
{
return StencilBuffer;
}
DENG2_ASSERT_FAIL("Invalid attachment flags");
return MAX_ATTACHMENTS;
}
Expand Down
2 changes: 1 addition & 1 deletion doomsday/libs/gui/src/graphics/glshader.cpp
Expand Up @@ -174,7 +174,7 @@ void GLShader::compile(Type shaderType, IByteArray const &shaderSource)

#if defined (DENG_OPENGL) || (defined (DENG_OPENGL_ES) && DENG_OPENGL_ES == 30)
preamble += "#define DENG_VAR in\n"
"out vec4 out_FragColor;\n";
"layout(location = 0) out vec4 out_FragColor;\n";
#else
preamble += "#define DENG_VAR varying\n"
"#define out_FragColor gl_FragColor\n";
Expand Down

0 comments on commit 525be96

Please sign in to comment.