EBO implementation + resize + keyboard
This commit is contained in:
parent
988b0bdbcd
commit
748644b220
8 changed files with 188 additions and 24 deletions
|
|
@ -12,5 +12,8 @@ class Application
|
|||
public:
|
||||
virtual void run() = 0;
|
||||
virtual std::weak_ptr<Window> add_window(int width, int height, const std::string& title) = 0;
|
||||
|
||||
protected:
|
||||
static bool application_created;
|
||||
};
|
||||
} // namespace uui
|
||||
|
|
|
|||
|
|
@ -16,6 +16,7 @@ public:
|
|||
private:
|
||||
GLuint gl_vbo;
|
||||
GLuint gl_vao;
|
||||
GLuint gl_ebo;
|
||||
GLuint gl_program;
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue