From 74015ebfd66ce4443fb1602a02d8711bf0d951de Mon Sep 17 00:00:00 2001 From: Bernhard Schelling Date: Thu, 8 Feb 2018 21:50:40 +0900 Subject: [PATCH] Update sample 32 --- 32-3d-materials.inl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/32-3d-materials.inl b/32-3d-materials.inl index 51f0d67..d99713d 100644 --- a/32-3d-materials.inl +++ b/32-3d-materials.inl @@ -10,7 +10,7 @@ struct sMain : public ZL_Application void Load(int argc, char *argv[]) { //Initialize the game with depth buffer, 3d rendering and shadow mapping - ZL_Display::Init("Advanced 3D Materials", 1280, 720, ZL_DISPLAY_DEPTHBUFFER); + ZL_Display::Init("Advanced 3D Materials", 1280, 720, ZL_DISPLAY_ALLOWRESIZEHORIZONTAL | ZL_DISPLAY_DEPTHBUFFER); ZL_Display3D::Init(); ZL_Display3D::InitShadowMapping(); ZL_Input::Init();