From efdc6f87d53d319816b3fc76a00f309f110f3955 Mon Sep 17 00:00:00 2001 From: Ray Date: Wed, 29 May 2019 13:47:57 +0200 Subject: [PATCH] Define standard examples size --- examples/core/core_vr_simulator.c | 5 +++-- games/Makefile | 4 ++-- src/Makefile | 2 +- 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/examples/core/core_vr_simulator.c b/examples/core/core_vr_simulator.c index 628d7cf4..76e22b1a 100644 --- a/examples/core/core_vr_simulator.c +++ b/examples/core/core_vr_simulator.c @@ -21,11 +21,12 @@ int main(void) { // 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 + SetConfigFlags(FLAG_MSAA_4X_HINT); InitWindow(screenWidth, screenHeight, "raylib [core] example - vr simulator"); // Init VR simulator (Oculus Rift CV1 parameters) diff --git a/games/Makefile b/games/Makefile index d69b895c..3c9c488d 100644 --- a/games/Makefile +++ b/games/Makefile @@ -27,7 +27,7 @@ PROJECT_NAME ?= raylib_examples RAYLIB_VERSION ?= 2.5.0 RAYLIB_API_VERSION ?= 2 -RAYLIB_PATH ?= C:\GitHub\raylib +RAYLIB_PATH ?= D:\GitHub\raylib # Define default options @@ -115,7 +115,7 @@ endif ifeq ($(PLATFORM),PLATFORM_WEB) # Emscripten required variables - EMSDK_PATH ?= C:/emsdk + EMSDK_PATH ?= D:/emsdk EMSCRIPTEN_VERSION ?= 1.38.31 CLANG_VERSION = e$(EMSCRIPTEN_VERSION)_64bit PYTHON_VERSION = 2.7.13.1_64bit\python-2.7.13.amd64 diff --git a/src/Makefile b/src/Makefile index 8198e147..9411b0e2 100644 --- a/src/Makefile +++ b/src/Makefile @@ -147,7 +147,7 @@ endif ifeq ($(PLATFORM),PLATFORM_WEB) # Emscripten required variables - EMSDK_PATH ?= C:/emsdk + EMSDK_PATH ?= D:/emsdk EMSCRIPTEN_VERSION ?= 1.38.31 CLANG_VERSION = e$(EMSCRIPTEN_VERSION)_64bit PYTHON_VERSION = 2.7.13.1_64bit\python-2.7.13.amd64