Browse Source

Define standard examples size

Ray 6 years ago
parent
commit
efdc6f87d5
3 changed files with 6 additions and 5 deletions
  1. 3 2
      examples/core/core_vr_simulator.c
  2. 2 2
      games/Makefile
  3. 1 1
      src/Makefile

+ 3 - 2
examples/core/core_vr_simulator.c

@@ -21,11 +21,12 @@ int main(void)
 {
 {
     // Initialization
     // Initialization
     //--------------------------------------------------------------------------------------
     //--------------------------------------------------------------------------------------
-    const int screenWidth = 1080;
-    const int screenHeight = 600;
+    const int screenWidth = 800;
+    const int screenHeight = 450;
 
 
     // NOTE: screenWidth/screenHeight should match VR device aspect ratio
     // NOTE: screenWidth/screenHeight should match VR device aspect ratio
 
 
+    SetConfigFlags(FLAG_MSAA_4X_HINT);
     InitWindow(screenWidth, screenHeight, "raylib [core] example - vr simulator");
     InitWindow(screenWidth, screenHeight, "raylib [core] example - vr simulator");
 
 
     // Init VR simulator (Oculus Rift CV1 parameters)
     // Init VR simulator (Oculus Rift CV1 parameters)

+ 2 - 2
games/Makefile

@@ -27,7 +27,7 @@
 PROJECT_NAME       ?= raylib_examples
 PROJECT_NAME       ?= raylib_examples
 RAYLIB_VERSION     ?= 2.5.0
 RAYLIB_VERSION     ?= 2.5.0
 RAYLIB_API_VERSION ?= 2
 RAYLIB_API_VERSION ?= 2
-RAYLIB_PATH        ?= C:\GitHub\raylib
+RAYLIB_PATH        ?= D:\GitHub\raylib
 
 
 # Define default options
 # Define default options
 
 
@@ -115,7 +115,7 @@ endif
 
 
 ifeq ($(PLATFORM),PLATFORM_WEB)
 ifeq ($(PLATFORM),PLATFORM_WEB)
     # Emscripten required variables
     # Emscripten required variables
-    EMSDK_PATH          ?= C:/emsdk
+    EMSDK_PATH          ?= D:/emsdk
     EMSCRIPTEN_VERSION  ?= 1.38.31
     EMSCRIPTEN_VERSION  ?= 1.38.31
     CLANG_VERSION       = e$(EMSCRIPTEN_VERSION)_64bit
     CLANG_VERSION       = e$(EMSCRIPTEN_VERSION)_64bit
     PYTHON_VERSION      = 2.7.13.1_64bit\python-2.7.13.amd64
     PYTHON_VERSION      = 2.7.13.1_64bit\python-2.7.13.amd64

+ 1 - 1
src/Makefile

@@ -147,7 +147,7 @@ endif
 
 
 ifeq ($(PLATFORM),PLATFORM_WEB)
 ifeq ($(PLATFORM),PLATFORM_WEB)
     # Emscripten required variables
     # Emscripten required variables
-    EMSDK_PATH          ?= C:/emsdk
+    EMSDK_PATH          ?= D:/emsdk
     EMSCRIPTEN_VERSION  ?= 1.38.31
     EMSCRIPTEN_VERSION  ?= 1.38.31
     CLANG_VERSION       = e$(EMSCRIPTEN_VERSION)_64bit
     CLANG_VERSION       = e$(EMSCRIPTEN_VERSION)_64bit
     PYTHON_VERSION      = 2.7.13.1_64bit\python-2.7.13.amd64
     PYTHON_VERSION      = 2.7.13.1_64bit\python-2.7.13.amd64