Skip to content

Commit

Permalink
Fixed filename in HelloTriangle example on MacOS port.
Browse files Browse the repository at this point in the history
  • Loading branch information
LukasBanana committed Aug 25, 2018
1 parent 450e56b commit 7afa1eb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/Cpp/HelloTriangle/Example.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ int main(int argc, char* argv[])
contextDesc.vsync.enabled = true;
contextDesc.profileOpenGL.contextProfile = LLGL::OpenGLContextProfile::CoreProfile;
#ifdef ENABLE_MULTISAMPLING
contextDesc.multiSampling = LLGL::MultiSamplingDescriptor { 20 }; // check if LLGL adapts sample count that is too high
contextDesc.multiSampling = LLGL::MultiSamplingDescriptor { 8 }; // check if LLGL adapts sample count that is too high
#endif
}
LLGL::RenderContext* context = renderer->CreateRenderContext(contextDesc);
Expand Down Expand Up @@ -98,7 +98,7 @@ int main(int argc, char* argv[])
if (std::find(languages.begin(), languages.end(), LLGL::ShadingLanguage::GLSL) != languages.end())
{
#ifdef __APPLE__
vertShader = renderer->CreateShader({ LLGL::ShaderType::Vertex, "Example.140core.vert." });
vertShader = renderer->CreateShader({ LLGL::ShaderType::Vertex, "Example.140core.vert" });
fragShader = renderer->CreateShader({ LLGL::ShaderType::Fragment, "Example.140core.frag" });
#else
vertShader = renderer->CreateShader({ LLGL::ShaderType::Vertex, "Example.vert" });
Expand Down

0 comments on commit 7afa1eb

Please sign in to comment.