go back to short zoints for now

This commit is contained in:
David Rose 2008-05-09 00:08:32 +00:00
parent d956aee536
commit f6c1bcd24e
3 changed files with 3 additions and 1 deletions

View File

@ -48,6 +48,7 @@ TinySDLGraphicsWindow(GraphicsPipe *pipe,
_screen = NULL;
_frame_buffer = NULL;
_pitch = 0;
update_pixel_factor();
GraphicsWindowInputDevice device =
GraphicsWindowInputDevice::pointer_and_keyboard(this, "keyboard/mouse");

View File

@ -84,6 +84,7 @@ TinyXGraphicsWindow(GraphicsPipe *pipe,
_frame_buffer = NULL;
_ximage = NULL;
update_pixel_factor();
GraphicsWindowInputDevice device =
GraphicsWindowInputDevice::pointer_and_keyboard(this, "keyboard/mouse");

View File

@ -7,7 +7,7 @@
#include "zfeatures.h"
typedef unsigned int ZPOINT;
typedef unsigned short ZPOINT;
#define ZB_Z_BITS 16
#define ZB_POINT_Z_FRAC_BITS 14