citrun

watch C/C++ source code execute
Log | Files | Refs | LICENSE

commit ac7427c9305f93fece67a2d0cfb2e12f21c6c270
parent 48aa072edc844251065f1d472abd97ca4ed787d6
Author: Kyle Milz <kyle@0x30.net>
Date:   Sun, 11 Dec 2016 17:07:11 -0700

src: fix some warnings

Diffstat:
Msrc/gl_view.cc | 8+++-----
1 file changed, 3 insertions(+), 5 deletions(-)

diff --git a/src/gl_view.cc b/src/gl_view.cc @@ -28,12 +28,10 @@ extern "C" { void start_animation(); View::View(demo_glstate_t *st, demo_buffer_t *buf) : + refcount(1), st(st), buffer(buf), - fullscreen(false), - animate(false), - refcount(1), - has_fps_timer(0) + fullscreen(false) { TRACE(); @@ -395,10 +393,10 @@ View::motion_func(int x, int y) int viewport[4]; glGetIntegerv (GL_VIEWPORT, viewport); +#if 0 GLuint width = viewport[2]; GLuint height = viewport[3]; -#if 0 if (buttons & (1 << GLUT_LEFT_BUTTON)) { if (modifiers & GLUT_ACTIVE_SHIFT) {