fix warning about out of order initialization

This commit is contained in:
Andrew Meadows 2014-06-25 09:09:44 -07:00
parent d3d8e4dc2d
commit 81209c38ca

View file

@ -39,9 +39,9 @@ inline float min(float a, float b) {
ApplicationOverlay::ApplicationOverlay() :
_framebufferObject(NULL),
_textureFov(DEFAULT_OCULUS_UI_ANGULAR_SIZE * RADIANS_PER_DEGREE),
_crosshairTexture(0),
_alpha(1.0f),
_active(true) {
_active(true),
_crosshairTexture(0) {
memset(_reticleActive, 0, sizeof(_reticleActive));
memset(_magActive, 0, sizeof(_reticleActive));