@@ -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");
@@ -84,6 +84,7 @@ TinyXGraphicsWindow(GraphicsPipe *pipe,
_ximage = NULL;
@@ -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