From b68ac997058037ed809560babb3d25d62ff4f910 Mon Sep 17 00:00:00 2001 From: Mikko Rasa Date: Wed, 1 Aug 2012 01:36:23 +0300 Subject: [PATCH] More compilation fixes --- Build | 1 + demos/texturing.cpp | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Build b/Build index da8e64c0..be79a976 100644 --- a/Build +++ b/Build @@ -3,6 +3,7 @@ package "mspgl" version "1.1"; description "Lightweight C++/OpenGL graphics engine"; + require "mspcore"; require "mspdatafile"; require "mspgui"; require "opengl"; diff --git a/demos/texturing.cpp b/demos/texturing.cpp index e618a43c..6a387dec 100644 --- a/demos/texturing.cpp +++ b/demos/texturing.cpp @@ -21,7 +21,7 @@ int main() GL::Texture2D tex1; GL::Texture2D tex2; - char *data = new char[256*256*4]; + unsigned char *data = new unsigned char[256*256*4]; for(unsigned y=0; y<256; ++y) for(unsigned x=0; x<256; ++x) { -- 2.45.2