Removed unused variables

Fixed a small pointer conversion warning that was generating off the
image class. Since moving to GLFW, depth is no longer a choice being
passed by the calling code - it's statically set to 32.