JoshuaBrookover / bigg

bgfx, imgui, glfw, glm
The Unlicense
224 stars 35 forks source link

Can't initialize Application derivatives with specific size #12

Closed VelocityRa closed 5 years ago

VelocityRa commented 5 years ago

Either I'm missing something or (at least) these two fields should be protected.

widberg commented 5 years ago

One possible solution would be to add the width and height as parameters in the application constructor.

JoshuaBrookover commented 5 years ago

This code isn't really intended to be used without modification. It's more of an example than a framework, so it's missing a lot of little things that should be pretty easy to implement, like a "resize window" function. Pull requests always welcome. 😊

The PR #14 by @prowolf addresses this issue, so thanks for that!