From 47e49660cf525b4a28d4b2233e0ab9b43b03fe6a Mon Sep 17 00:00:00 2001 From: tpajenka Date: Fri, 7 Feb 2014 17:08:17 +0100 Subject: [PATCH 1/2] changed window position --- src/Main.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Main.hs b/src/Main.hs index dcde748..c6bdfef 100644 --- a/src/Main.hs +++ b/src/Main.hs @@ -107,7 +107,7 @@ type Pioneers = RWST Env () State IO main :: IO () main = do SDL.withInit [InitVideo, InitAudio] $ do --also: InitNoParachute -> faster, without parachute! - SDL.withWindow "Pioneers" (Position 1500 100) (Size 1024 768) [WindowOpengl -- we want openGL + SDL.withWindow "Pioneers" (Position 100 100) (Size 1024 600) [WindowOpengl -- we want openGL ,WindowShown -- window should be visible ,WindowResizable -- and resizable ,WindowInputFocus -- focused (=> active) From 5da90f83c6a9b491ffa9c10764b80eb2e3c8027a Mon Sep 17 00:00:00 2001 From: tpajenka Date: Fri, 7 Feb 2014 17:15:17 +0100 Subject: [PATCH 2/2] corrected tessEval.shader --- shaders/tessEval.shader | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shaders/tessEval.shader b/shaders/tessEval.shader index d0c6648..7ed631a 100644 --- a/shaders/tessEval.shader +++ b/shaders/tessEval.shader @@ -4,8 +4,8 @@ layout(triangles, equal_spacing, cw) in; in vec3 tcPosition[]; in vec4 tcColor[]; in vec3 tcNormal[]; -out vec3 tePosition; out vec4 teColor; +smooth out vec3 tePosition; smooth out vec3 teNormal; smooth out float gmix; //mixture of gravel //out vec3 tePatchDistance;