mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-07-22 00:09:18 +02:00
maintenance: memory leak fix, default constructors, minor syntax cleanups
This commit is contained in:
@@ -52,6 +52,8 @@ struct opengl_technique {
|
||||
class opengl_camera {
|
||||
|
||||
public:
|
||||
// constructors
|
||||
opengl_camera() = default;
|
||||
// methods:
|
||||
inline
|
||||
void
|
||||
@@ -113,10 +115,10 @@ class opengl_renderer {
|
||||
|
||||
public:
|
||||
// types
|
||||
|
||||
// constructors
|
||||
opengl_renderer() = default;
|
||||
// destructor
|
||||
~opengl_renderer() { gluDeleteQuadric( m_quadric ); }
|
||||
|
||||
// methods
|
||||
bool
|
||||
Init( GLFWwindow *Window );
|
||||
|
||||
Reference in New Issue
Block a user