瀏覽代碼

Define standard examples size

pull/854/head
Ray 5 年之前
父節點
當前提交
efdc6f87d5
共有 3 個檔案被更改,包括 6 行新增5 行删除
  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
//--------------------------------------------------------------------------------------
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)

+ 2
- 2
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

+ 1
- 1
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

Loading…
取消
儲存