LukasBanana / LLGL

Low Level Graphics Library (LLGL) is a thin abstraction layer for the modern graphics APIs OpenGL, Direct3D, Vulkan, and Metal
BSD 3-Clause "New" or "Revised" License
2.05k stars 139 forks source link

Redundant type cast and condition #8

Closed LukasBanana closed 6 years ago

LukasBanana commented 6 years ago

https://github.com/LukasBanana/LLGL/blob/71342279ff401aa1c0a1dfbcf4ed304217bb32f4/sources/Renderer/OpenGL/Platform/Linux/LinuxGLContext.cpp#L55

Type is already LinuxGLContext at c'tor parameter.

LukasBanana commented 6 years ago

Fixed with 4c83565.