Remove PLATFORM_RPI
This commit is contained in:
parent
db55bed72b
commit
35cb41a055
|
|
@ -73,19 +73,6 @@ elseif (${PLATFORM} MATCHES "Android")
|
|||
find_library(OPENGL_LIBRARY OpenGL)
|
||||
set(LIBS_PRIVATE m log android EGL GLESv2 OpenSLES atomic c)
|
||||
|
||||
elseif (${PLATFORM} MATCHES "Raspberry Pi")
|
||||
set(PLATFORM_CPP "PLATFORM_RPI")
|
||||
set(GRAPHICS "GRAPHICS_API_OPENGL_ES2")
|
||||
|
||||
add_definitions(-D_DEFAULT_SOURCE)
|
||||
|
||||
find_library(GLESV2 brcmGLESv2 HINTS /opt/vc/lib)
|
||||
find_library(EGL brcmEGL HINTS /opt/vc/lib)
|
||||
find_library(BCMHOST bcm_host HINTS /opt/vc/lib)
|
||||
include_directories(/opt/vc/include /opt/vc/include/interface/vmcs_host/linux /opt/vc/include/interface/vcos/pthreads)
|
||||
link_directories(/opt/vc/lib)
|
||||
set(LIBS_PRIVATE ${GLESV2} ${EGL} ${BCMHOST} pthread rt m dl)
|
||||
|
||||
elseif ("${PLATFORM}" MATCHES "DRM")
|
||||
set(PLATFORM_CPP "PLATFORM_DRM")
|
||||
set(GRAPHICS "GRAPHICS_API_OPENGL_ES2")
|
||||
|
|
|
|||
|
|
@ -25,7 +25,7 @@
|
|||
|
||||
# Define required environment variables
|
||||
#------------------------------------------------------------------------------------------------
|
||||
# Define target platform: PLATFORM_DESKTOP, PLATFORM_RPI, PLATFORM_DRM, PLATFORM_ANDROID, PLATFORM_WEB
|
||||
# Define target platform: PLATFORM_DESKTOP, PLATFORM_DRM, PLATFORM_ANDROID, PLATFORM_WEB
|
||||
PLATFORM ?= PLATFORM_DESKTOP
|
||||
|
||||
# Define required raylib variables
|
||||
|
|
@ -58,15 +58,6 @@ BUILD_WEB_HEAP_SIZE ?= 134217728
|
|||
BUILD_WEB_RESOURCES ?= TRUE
|
||||
BUILD_WEB_RESOURCES_PATH ?= $(dir $<)resources@resources
|
||||
|
||||
# Use cross-compiler for PLATFORM_RPI
|
||||
ifeq ($(PLATFORM),PLATFORM_RPI)
|
||||
USE_RPI_CROSS_COMPILER ?= FALSE
|
||||
ifeq ($(USE_RPI_CROSS_COMPILER),TRUE)
|
||||
RPI_TOOLCHAIN ?= C:/SysGCC/Raspberry
|
||||
RPI_TOOLCHAIN_SYSROOT ?= $(RPI_TOOLCHAIN)/arm-linux-gnueabihf/sysroot
|
||||
endif
|
||||
endif
|
||||
|
||||
# Determine PLATFORM_OS in case PLATFORM_DESKTOP or PLATFORM_WEB selected
|
||||
ifeq ($(PLATFORM),$(filter $(PLATFORM),PLATFORM_DESKTOP PLATFORM_WEB))
|
||||
# No uname.exe on MinGW!, but OS=Windows_NT on Windows!
|
||||
|
|
@ -95,12 +86,6 @@ ifeq ($(PLATFORM),$(filter $(PLATFORM),PLATFORM_DESKTOP PLATFORM_WEB))
|
|||
endif
|
||||
endif
|
||||
endif
|
||||
ifeq ($(PLATFORM),PLATFORM_RPI)
|
||||
UNAMEOS = $(shell uname)
|
||||
ifeq ($(UNAMEOS),Linux)
|
||||
PLATFORM_OS = LINUX
|
||||
endif
|
||||
endif
|
||||
ifeq ($(PLATFORM),PLATFORM_DRM)
|
||||
UNAMEOS = $(shell uname)
|
||||
ifeq ($(UNAMEOS),Linux)
|
||||
|
|
@ -118,9 +103,6 @@ ifeq ($(PLATFORM),PLATFORM_DESKTOP)
|
|||
endif
|
||||
|
||||
# Default path for raylib on Raspberry Pi
|
||||
ifeq ($(PLATFORM),PLATFORM_RPI)
|
||||
RAYLIB_PATH ?= /home/pi/raylib
|
||||
endif
|
||||
ifeq ($(PLATFORM),PLATFORM_DRM)
|
||||
RAYLIB_PATH ?= /home/pi/raylib
|
||||
endif
|
||||
|
|
@ -154,13 +136,6 @@ ifeq ($(PLATFORM),PLATFORM_DESKTOP)
|
|||
CC = clang
|
||||
endif
|
||||
endif
|
||||
ifeq ($(PLATFORM),PLATFORM_RPI)
|
||||
ifeq ($(USE_RPI_CROSS_COMPILER),TRUE)
|
||||
# Define RPI cross-compiler
|
||||
#CC = armv6j-hardfloat-linux-gnueabi-gcc
|
||||
CC = $(RPI_TOOLCHAIN)/bin/arm-linux-gnueabihf-gcc
|
||||
endif
|
||||
endif
|
||||
ifeq ($(PLATFORM),PLATFORM_WEB)
|
||||
# HTML5 emscripten compiler
|
||||
# WARNING: To compile to HTML5, code must be redesigned
|
||||
|
|
@ -231,9 +206,6 @@ ifeq ($(PLATFORM),PLATFORM_DESKTOP)
|
|||
endif
|
||||
endif
|
||||
endif
|
||||
ifeq ($(PLATFORM),PLATFORM_RPI)
|
||||
CFLAGS += -std=gnu99
|
||||
endif
|
||||
ifeq ($(PLATFORM),PLATFORM_DRM)
|
||||
CFLAGS += -std=gnu99 -DEGL_NO_X11
|
||||
endif
|
||||
|
|
@ -252,11 +224,6 @@ ifeq ($(PLATFORM),PLATFORM_DESKTOP)
|
|||
INCLUDE_PATHS += -I$(RAYLIB_INCLUDE_PATH)
|
||||
endif
|
||||
endif
|
||||
ifeq ($(PLATFORM),PLATFORM_RPI)
|
||||
INCLUDE_PATHS += -I$(RPI_TOOLCHAIN_SYSROOT)/opt/vc/include
|
||||
INCLUDE_PATHS += -I$(RPI_TOOLCHAIN_SYSROOT)/opt/vc/include/interface/vmcs_host/linux
|
||||
INCLUDE_PATHS += -I$(RPI_TOOLCHAIN_SYSROOT)/opt/vc/include/interface/vcos/pthreads
|
||||
endif
|
||||
ifeq ($(PLATFORM),PLATFORM_DRM)
|
||||
INCLUDE_PATHS += -I/usr/include/libdrm
|
||||
endif
|
||||
|
|
@ -323,9 +290,6 @@ ifeq ($(PLATFORM),PLATFORM_WEB)
|
|||
# logic to a self contained function: UpdateDrawFrame(), check core_basic_window_web.c for reference.
|
||||
|
||||
endif
|
||||
ifeq ($(PLATFORM),PLATFORM_RPI)
|
||||
LDFLAGS += -L$(RPI_TOOLCHAIN_SYSROOT)/opt/vc/lib
|
||||
endif
|
||||
|
||||
# Define libraries required on linking: LDLIBS
|
||||
# NOTE: To link libraries (lib<name>.so or lib<name>.a), use -l<name>
|
||||
|
|
@ -376,14 +340,6 @@ ifeq ($(PLATFORM),PLATFORM_DESKTOP)
|
|||
LDLIBS += -lglfw
|
||||
endif
|
||||
endif
|
||||
ifeq ($(PLATFORM),PLATFORM_RPI)
|
||||
# Libraries for Raspberry Pi compiling
|
||||
# NOTE: Required packages: libasound2-dev (ALSA)
|
||||
LDLIBS = -lraylib -lbrcmGLESv2 -lbrcmEGL -lpthread -lrt -lm -lbcm_host -ldl -latomic
|
||||
ifeq ($(USE_RPI_CROSS_COMPILER),TRUE)
|
||||
LDLIBS += -lvchiq_arm -lvcos
|
||||
endif
|
||||
endif
|
||||
ifeq ($(PLATFORM),PLATFORM_DRM)
|
||||
# Libraries for DRM compiling
|
||||
# NOTE: Required packages: libasound2-dev (ALSA)
|
||||
|
|
@ -586,10 +542,6 @@ ifeq ($(PLATFORM),PLATFORM_DESKTOP)
|
|||
rm -f *.o
|
||||
endif
|
||||
endif
|
||||
ifeq ($(PLATFORM),PLATFORM_RPI)
|
||||
find . -type f -executable -delete
|
||||
rm -fv *.o
|
||||
endif
|
||||
ifeq ($(PLATFORM),PLATFORM_DRM)
|
||||
find . -type f -executable -delete
|
||||
rm -fv *.o
|
||||
|
|
|
|||
|
|
@ -25,7 +25,7 @@
|
|||
|
||||
# Define required environment variables
|
||||
#------------------------------------------------------------------------------------------------
|
||||
# Define target platform: PLATFORM_DESKTOP, PLATFORM_RPI, PLATFORM_DRM, PLATFORM_ANDROID, PLATFORM_WEB
|
||||
# Define target platform: PLATFORM_DESKTOP, PLATFORM_DRM, PLATFORM_ANDROID, PLATFORM_WEB
|
||||
PLATFORM ?= PLATFORM_WEB
|
||||
|
||||
# Define required raylib variables
|
||||
|
|
@ -51,15 +51,6 @@ USE_EXTERNAL_GLFW ?= FALSE
|
|||
# NOTE: This variable is only used for PLATFORM_OS: LINUX
|
||||
USE_WAYLAND_DISPLAY ?= FALSE
|
||||
|
||||
# Use cross-compiler for PLATFORM_RPI
|
||||
ifeq ($(PLATFORM),PLATFORM_RPI)
|
||||
USE_RPI_CROSS_COMPILER ?= FALSE
|
||||
ifeq ($(USE_RPI_CROSS_COMPILER),TRUE)
|
||||
RPI_TOOLCHAIN ?= C:/SysGCC/Raspberry
|
||||
RPI_TOOLCHAIN_SYSROOT ?= $(RPI_TOOLCHAIN)/arm-linux-gnueabihf/sysroot
|
||||
endif
|
||||
endif
|
||||
|
||||
# Determine PLATFORM_OS in case PLATFORM_DESKTOP or PLATFORM_WEB selected
|
||||
ifeq ($(PLATFORM),$(filter $(PLATFORM),PLATFORM_DESKTOP PLATFORM_WEB))
|
||||
# No uname.exe on MinGW!, but OS=Windows_NT on Windows!
|
||||
|
|
@ -88,12 +79,6 @@ ifeq ($(PLATFORM),$(filter $(PLATFORM),PLATFORM_DESKTOP PLATFORM_WEB))
|
|||
endif
|
||||
endif
|
||||
endif
|
||||
ifeq ($(PLATFORM),PLATFORM_RPI)
|
||||
UNAMEOS = $(shell uname)
|
||||
ifeq ($(UNAMEOS),Linux)
|
||||
PLATFORM_OS = LINUX
|
||||
endif
|
||||
endif
|
||||
ifeq ($(PLATFORM),PLATFORM_DRM)
|
||||
UNAMEOS = $(shell uname)
|
||||
ifeq ($(UNAMEOS),Linux)
|
||||
|
|
@ -111,9 +96,6 @@ ifeq ($(PLATFORM),PLATFORM_DESKTOP)
|
|||
endif
|
||||
|
||||
# Default path for raylib on Raspberry Pi
|
||||
ifeq ($(PLATFORM),PLATFORM_RPI)
|
||||
RAYLIB_PATH ?= /home/pi/raylib
|
||||
endif
|
||||
ifeq ($(PLATFORM),PLATFORM_DRM)
|
||||
RAYLIB_PATH ?= /home/pi/raylib
|
||||
endif
|
||||
|
|
@ -147,13 +129,6 @@ ifeq ($(PLATFORM),PLATFORM_DESKTOP)
|
|||
CC = clang
|
||||
endif
|
||||
endif
|
||||
ifeq ($(PLATFORM),PLATFORM_RPI)
|
||||
ifeq ($(USE_RPI_CROSS_COMPILER),TRUE)
|
||||
# Define RPI cross-compiler
|
||||
#CC = armv6j-hardfloat-linux-gnueabi-gcc
|
||||
CC = $(RPI_TOOLCHAIN)/bin/arm-linux-gnueabihf-gcc
|
||||
endif
|
||||
endif
|
||||
ifeq ($(PLATFORM),PLATFORM_WEB)
|
||||
# HTML5 emscripten compiler
|
||||
# WARNING: To compile to HTML5, code must be redesigned
|
||||
|
|
@ -224,9 +199,6 @@ ifeq ($(PLATFORM),PLATFORM_DESKTOP)
|
|||
endif
|
||||
endif
|
||||
endif
|
||||
ifeq ($(PLATFORM),PLATFORM_RPI)
|
||||
CFLAGS += -std=gnu99
|
||||
endif
|
||||
ifeq ($(PLATFORM),PLATFORM_DRM)
|
||||
CFLAGS += -std=gnu99 -DEGL_NO_X11
|
||||
endif
|
||||
|
|
@ -245,11 +217,6 @@ ifeq ($(PLATFORM),PLATFORM_DESKTOP)
|
|||
INCLUDE_PATHS += -I$(RAYLIB_INCLUDE_PATH)
|
||||
endif
|
||||
endif
|
||||
ifeq ($(PLATFORM),PLATFORM_RPI)
|
||||
INCLUDE_PATHS += -I$(RPI_TOOLCHAIN_SYSROOT)/opt/vc/include
|
||||
INCLUDE_PATHS += -I$(RPI_TOOLCHAIN_SYSROOT)/opt/vc/include/interface/vmcs_host/linux
|
||||
INCLUDE_PATHS += -I$(RPI_TOOLCHAIN_SYSROOT)/opt/vc/include/interface/vcos/pthreads
|
||||
endif
|
||||
ifeq ($(PLATFORM),PLATFORM_DRM)
|
||||
INCLUDE_PATHS += -I/usr/include/libdrm
|
||||
endif
|
||||
|
|
@ -304,9 +271,6 @@ ifeq ($(PLATFORM),PLATFORM_WEB)
|
|||
LDFLAGS += --shell-file $(RAYLIB_PATH)/src/shell.html
|
||||
EXT = .html
|
||||
endif
|
||||
ifeq ($(PLATFORM),PLATFORM_RPI)
|
||||
LDFLAGS += -L$(RPI_TOOLCHAIN_SYSROOT)/opt/vc/lib
|
||||
endif
|
||||
|
||||
# Define libraries required on linking: LDLIBS
|
||||
# NOTE: To link libraries (lib<name>.so or lib<name>.a), use -l<name>
|
||||
|
|
@ -357,14 +321,6 @@ ifeq ($(PLATFORM),PLATFORM_DESKTOP)
|
|||
LDLIBS += -lglfw
|
||||
endif
|
||||
endif
|
||||
ifeq ($(PLATFORM),PLATFORM_RPI)
|
||||
# Libraries for Raspberry Pi compiling
|
||||
# NOTE: Required packages: libasound2-dev (ALSA)
|
||||
LDLIBS = -lraylib -lbrcmGLESv2 -lbrcmEGL -lpthread -lrt -lm -lbcm_host -ldl -latomic
|
||||
ifeq ($(USE_RPI_CROSS_COMPILER),TRUE)
|
||||
LDLIBS += -lvchiq_arm -lvcos
|
||||
endif
|
||||
endif
|
||||
ifeq ($(PLATFORM),PLATFORM_DRM)
|
||||
# Libraries for DRM compiling
|
||||
# NOTE: Required packages: libasound2-dev (ALSA)
|
||||
|
|
@ -1065,10 +1021,6 @@ ifeq ($(PLATFORM),PLATFORM_DESKTOP)
|
|||
rm -f *.o
|
||||
endif
|
||||
endif
|
||||
ifeq ($(PLATFORM),PLATFORM_RPI)
|
||||
find . -type f -executable -delete
|
||||
rm -fv *.o
|
||||
endif
|
||||
ifeq ($(PLATFORM),PLATFORM_DRM)
|
||||
find . -type f -executable -delete
|
||||
rm -fv *.o
|
||||
|
|
|
|||
BIN
examples/audio/audio_mixed_processor
Executable file
BIN
examples/audio/audio_mixed_processor
Executable file
Binary file not shown.
BIN
examples/audio/audio_module_playing
Executable file
BIN
examples/audio/audio_module_playing
Executable file
Binary file not shown.
BIN
examples/audio/audio_music_stream
Executable file
BIN
examples/audio/audio_music_stream
Executable file
Binary file not shown.
BIN
examples/audio/audio_raw_stream
Executable file
BIN
examples/audio/audio_raw_stream
Executable file
Binary file not shown.
BIN
examples/audio/audio_sound_loading
Executable file
BIN
examples/audio/audio_sound_loading
Executable file
Binary file not shown.
BIN
examples/audio/audio_sound_multi
Executable file
BIN
examples/audio/audio_sound_multi
Executable file
Binary file not shown.
BIN
examples/audio/audio_stream_effects
Executable file
BIN
examples/audio/audio_stream_effects
Executable file
Binary file not shown.
BIN
examples/core/core_2d_camera
Executable file
BIN
examples/core/core_2d_camera
Executable file
Binary file not shown.
BIN
examples/core/core_2d_camera_mouse_zoom
Executable file
BIN
examples/core/core_2d_camera_mouse_zoom
Executable file
Binary file not shown.
BIN
examples/core/core_2d_camera_platformer
Executable file
BIN
examples/core/core_2d_camera_platformer
Executable file
Binary file not shown.
BIN
examples/core/core_3d_camera_first_person
Executable file
BIN
examples/core/core_3d_camera_first_person
Executable file
Binary file not shown.
BIN
examples/core/core_3d_camera_free
Executable file
BIN
examples/core/core_3d_camera_free
Executable file
Binary file not shown.
BIN
examples/core/core_3d_camera_mode
Executable file
BIN
examples/core/core_3d_camera_mode
Executable file
Binary file not shown.
BIN
examples/core/core_3d_picking
Executable file
BIN
examples/core/core_3d_picking
Executable file
Binary file not shown.
BIN
examples/core/core_basic_screen_manager
Executable file
BIN
examples/core/core_basic_screen_manager
Executable file
Binary file not shown.
BIN
examples/core/core_basic_window
Executable file
BIN
examples/core/core_basic_window
Executable file
Binary file not shown.
|
|
@ -2,7 +2,7 @@
|
|||
*
|
||||
* raylib [core] example - Basic window (adapted for HTML5 platform)
|
||||
*
|
||||
* NOTE: This example is prepared to compile for PLATFORM_WEB, PLATFORM_DESKTOP and PLATFORM_RPI
|
||||
* NOTE: This example is prepared to compile for PLATFORM_WEB, and PLATFORM_DESKTOP
|
||||
* As you will notice, code structure is slightly diferent to the other examples...
|
||||
* To compile it for PLATFORM_WEB just uncomment #define PLATFORM_WEB at beginning
|
||||
*
|
||||
|
|
|
|||
BIN
examples/core/core_custom_frame_control
Executable file
BIN
examples/core/core_custom_frame_control
Executable file
Binary file not shown.
BIN
examples/core/core_custom_logging
Executable file
BIN
examples/core/core_custom_logging
Executable file
Binary file not shown.
BIN
examples/core/core_drop_files
Executable file
BIN
examples/core/core_drop_files
Executable file
Binary file not shown.
BIN
examples/core/core_input_gamepad
Executable file
BIN
examples/core/core_input_gamepad
Executable file
Binary file not shown.
|
|
@ -21,13 +21,8 @@
|
|||
|
||||
// NOTE: Gamepad name ID depends on drivers and OS
|
||||
#define XBOX360_LEGACY_NAME_ID "Xbox Controller"
|
||||
#if defined(PLATFORM_RPI)
|
||||
#define XBOX360_NAME_ID "Microsoft X-Box 360 pad"
|
||||
#define PS3_NAME_ID "PLAYSTATION(R)3 Controller"
|
||||
#else
|
||||
#define XBOX360_NAME_ID "Xbox 360 Controller"
|
||||
#define PS3_NAME_ID "PLAYSTATION(R)3 Controller"
|
||||
#endif
|
||||
|
||||
//------------------------------------------------------------------------------------
|
||||
// Program main entry point
|
||||
|
|
|
|||
BIN
examples/core/core_input_gestures
Executable file
BIN
examples/core/core_input_gestures
Executable file
Binary file not shown.
BIN
examples/core/core_input_gestures_web
Executable file
BIN
examples/core/core_input_gestures_web
Executable file
Binary file not shown.
BIN
examples/core/core_input_keys
Executable file
BIN
examples/core/core_input_keys
Executable file
Binary file not shown.
BIN
examples/core/core_input_mouse
Executable file
BIN
examples/core/core_input_mouse
Executable file
Binary file not shown.
BIN
examples/core/core_input_mouse_wheel
Executable file
BIN
examples/core/core_input_mouse_wheel
Executable file
Binary file not shown.
BIN
examples/core/core_input_multitouch
Executable file
BIN
examples/core/core_input_multitouch
Executable file
Binary file not shown.
BIN
examples/core/core_loading_thread
Executable file
BIN
examples/core/core_loading_thread
Executable file
Binary file not shown.
BIN
examples/core/core_random_values
Executable file
BIN
examples/core/core_random_values
Executable file
Binary file not shown.
BIN
examples/core/core_scissor_test
Executable file
BIN
examples/core/core_scissor_test
Executable file
Binary file not shown.
BIN
examples/core/core_smooth_pixelperfect
Executable file
BIN
examples/core/core_smooth_pixelperfect
Executable file
Binary file not shown.
BIN
examples/core/core_split_screen
Executable file
BIN
examples/core/core_split_screen
Executable file
Binary file not shown.
BIN
examples/core/core_storage_values
Executable file
BIN
examples/core/core_storage_values
Executable file
Binary file not shown.
BIN
examples/core/core_vr_simulator
Executable file
BIN
examples/core/core_vr_simulator
Executable file
Binary file not shown.
|
|
@ -15,7 +15,7 @@
|
|||
|
||||
#if defined(PLATFORM_DESKTOP)
|
||||
#define GLSL_VERSION 330
|
||||
#else // PLATFORM_RPI, PLATFORM_ANDROID, PLATFORM_WEB
|
||||
#else // PLATFORM_ANDROID, PLATFORM_WEB
|
||||
#define GLSL_VERSION 100
|
||||
#endif
|
||||
|
||||
|
|
|
|||
BIN
examples/core/core_window_flags
Executable file
BIN
examples/core/core_window_flags
Executable file
Binary file not shown.
BIN
examples/core/core_window_letterbox
Executable file
BIN
examples/core/core_window_letterbox
Executable file
Binary file not shown.
BIN
examples/core/core_window_should_close
Executable file
BIN
examples/core/core_window_should_close
Executable file
Binary file not shown.
BIN
examples/core/core_world_screen
Executable file
BIN
examples/core/core_world_screen
Executable file
Binary file not shown.
BIN
examples/models/models_animation
Executable file
BIN
examples/models/models_animation
Executable file
Binary file not shown.
BIN
examples/models/models_billboard
Executable file
BIN
examples/models/models_billboard
Executable file
Binary file not shown.
BIN
examples/models/models_box_collisions
Executable file
BIN
examples/models/models_box_collisions
Executable file
Binary file not shown.
BIN
examples/models/models_cubicmap
Executable file
BIN
examples/models/models_cubicmap
Executable file
Binary file not shown.
BIN
examples/models/models_draw_cube_texture
Executable file
BIN
examples/models/models_draw_cube_texture
Executable file
Binary file not shown.
BIN
examples/models/models_first_person_maze
Executable file
BIN
examples/models/models_first_person_maze
Executable file
Binary file not shown.
BIN
examples/models/models_geometric_shapes
Executable file
BIN
examples/models/models_geometric_shapes
Executable file
Binary file not shown.
BIN
examples/models/models_heightmap
Executable file
BIN
examples/models/models_heightmap
Executable file
Binary file not shown.
BIN
examples/models/models_loading
Executable file
BIN
examples/models/models_loading
Executable file
Binary file not shown.
BIN
examples/models/models_loading_gltf
Executable file
BIN
examples/models/models_loading_gltf
Executable file
Binary file not shown.
BIN
examples/models/models_loading_m3d
Executable file
BIN
examples/models/models_loading_m3d
Executable file
Binary file not shown.
BIN
examples/models/models_loading_vox
Executable file
BIN
examples/models/models_loading_vox
Executable file
Binary file not shown.
BIN
examples/models/models_mesh_generation
Executable file
BIN
examples/models/models_mesh_generation
Executable file
Binary file not shown.
BIN
examples/models/models_mesh_picking
Executable file
BIN
examples/models/models_mesh_picking
Executable file
Binary file not shown.
BIN
examples/models/models_orthographic_projection
Executable file
BIN
examples/models/models_orthographic_projection
Executable file
Binary file not shown.
BIN
examples/models/models_rlgl_solar_system
Executable file
BIN
examples/models/models_rlgl_solar_system
Executable file
Binary file not shown.
BIN
examples/models/models_skybox
Executable file
BIN
examples/models/models_skybox
Executable file
Binary file not shown.
|
|
@ -18,7 +18,7 @@
|
|||
|
||||
#if defined(PLATFORM_DESKTOP)
|
||||
#define GLSL_VERSION 330
|
||||
#else // PLATFORM_RPI, PLATFORM_ANDROID, PLATFORM_WEB
|
||||
#else // PLATFORM_ANDROID, PLATFORM_WEB
|
||||
#define GLSL_VERSION 100
|
||||
#endif
|
||||
|
||||
|
|
|
|||
BIN
examples/models/models_waving_cubes
Executable file
BIN
examples/models/models_waving_cubes
Executable file
Binary file not shown.
BIN
examples/models/models_yaw_pitch_roll
Executable file
BIN
examples/models/models_yaw_pitch_roll
Executable file
Binary file not shown.
BIN
examples/others/easings_testbed
Executable file
BIN
examples/others/easings_testbed
Executable file
Binary file not shown.
BIN
examples/others/embedded_files_loading
Executable file
BIN
examples/others/embedded_files_loading
Executable file
Binary file not shown.
BIN
examples/others/raylib_opengl_interop
Executable file
BIN
examples/others/raylib_opengl_interop
Executable file
Binary file not shown.
|
|
@ -42,7 +42,7 @@
|
|||
#endif
|
||||
#define GLSL_VERSION 330
|
||||
#endif
|
||||
#else // PLATFORM_RPI, PLATFORM_ANDROID, PLATFORM_WEB
|
||||
#else // PLATFORM_ANDROID, PLATFORM_WEB
|
||||
#define GLSL_VERSION 100
|
||||
#endif
|
||||
|
||||
|
|
|
|||
BIN
examples/others/raymath_vector_angle
Executable file
BIN
examples/others/raymath_vector_angle
Executable file
Binary file not shown.
BIN
examples/others/rlgl_compute_shader
Executable file
BIN
examples/others/rlgl_compute_shader
Executable file
Binary file not shown.
BIN
examples/shaders/shaders_basic_lighting
Executable file
BIN
examples/shaders/shaders_basic_lighting
Executable file
Binary file not shown.
|
|
@ -27,7 +27,7 @@
|
|||
|
||||
#if defined(PLATFORM_DESKTOP)
|
||||
#define GLSL_VERSION 330
|
||||
#else // PLATFORM_RPI, PLATFORM_ANDROID, PLATFORM_WEB
|
||||
#else // PLATFORM_ANDROID, PLATFORM_WEB
|
||||
#define GLSL_VERSION 100
|
||||
#endif
|
||||
|
||||
|
|
|
|||
BIN
examples/shaders/shaders_custom_uniform
Executable file
BIN
examples/shaders/shaders_custom_uniform
Executable file
Binary file not shown.
|
|
@ -22,7 +22,7 @@
|
|||
|
||||
#if defined(PLATFORM_DESKTOP)
|
||||
#define GLSL_VERSION 330
|
||||
#else // PLATFORM_RPI, PLATFORM_ANDROID, PLATFORM_WEB
|
||||
#else // PLATFORM_ANDROID, PLATFORM_WEB
|
||||
#define GLSL_VERSION 100
|
||||
#endif
|
||||
|
||||
|
|
|
|||
BIN
examples/shaders/shaders_eratosthenes
Executable file
BIN
examples/shaders/shaders_eratosthenes
Executable file
Binary file not shown.
|
|
@ -29,7 +29,7 @@
|
|||
|
||||
#if defined(PLATFORM_DESKTOP)
|
||||
#define GLSL_VERSION 330
|
||||
#else // PLATFORM_RPI, PLATFORM_ANDROID, PLATFORM_WEB
|
||||
#else // PLATFORM_ANDROID, PLATFORM_WEB
|
||||
#define GLSL_VERSION 100
|
||||
#endif
|
||||
|
||||
|
|
|
|||
BIN
examples/shaders/shaders_fog
Executable file
BIN
examples/shaders/shaders_fog
Executable file
Binary file not shown.
|
|
@ -27,7 +27,7 @@
|
|||
|
||||
#if defined(PLATFORM_DESKTOP)
|
||||
#define GLSL_VERSION 330
|
||||
#else // PLATFORM_RPI, PLATFORM_ANDROID, PLATFORM_WEB
|
||||
#else // PLATFORM_ANDROID, PLATFORM_WEB
|
||||
#define GLSL_VERSION 100
|
||||
#endif
|
||||
|
||||
|
|
|
|||
BIN
examples/shaders/shaders_hot_reloading
Executable file
BIN
examples/shaders/shaders_hot_reloading
Executable file
Binary file not shown.
|
|
@ -21,7 +21,7 @@
|
|||
|
||||
#if defined(PLATFORM_DESKTOP)
|
||||
#define GLSL_VERSION 330
|
||||
#else // PLATFORM_RPI, PLATFORM_ANDROID, PLATFORM_WEB
|
||||
#else // PLATFORM_ANDROID, PLATFORM_WEB
|
||||
#define GLSL_VERSION 100
|
||||
#endif
|
||||
|
||||
|
|
|
|||
BIN
examples/shaders/shaders_hybrid_render
Executable file
BIN
examples/shaders/shaders_hybrid_render
Executable file
Binary file not shown.
|
|
@ -20,7 +20,7 @@
|
|||
|
||||
#if defined(PLATFORM_DESKTOP)
|
||||
#define GLSL_VERSION 330
|
||||
#else // PLATFORM_RPI, PLATFORM_ANDROID, PLATFORM_WEB
|
||||
#else // PLATFORM_ANDROID, PLATFORM_WEB
|
||||
#define GLSL_VERSION 100
|
||||
#endif
|
||||
|
||||
|
|
|
|||
BIN
examples/shaders/shaders_julia_set
Executable file
BIN
examples/shaders/shaders_julia_set
Executable file
Binary file not shown.
|
|
@ -22,7 +22,7 @@
|
|||
|
||||
#if defined(PLATFORM_DESKTOP)
|
||||
#define GLSL_VERSION 330
|
||||
#else // PLATFORM_RPI, PLATFORM_ANDROID, PLATFORM_WEB
|
||||
#else // PLATFORM_ANDROID, PLATFORM_WEB
|
||||
#define GLSL_VERSION 100
|
||||
#endif
|
||||
|
||||
|
|
|
|||
|
|
@ -25,7 +25,7 @@
|
|||
|
||||
#if defined(PLATFORM_DESKTOP)
|
||||
#define GLSL_VERSION 330
|
||||
#else // PLATFORM_RPI, PLATFORM_ANDROID, PLATFORM_WEB
|
||||
#else // PLATFORM_ANDROID, PLATFORM_WEB
|
||||
#define GLSL_VERSION 100
|
||||
#endif
|
||||
|
||||
|
|
|
|||
BIN
examples/shaders/shaders_mesh_instancing
Executable file
BIN
examples/shaders/shaders_mesh_instancing
Executable file
Binary file not shown.
|
|
@ -24,7 +24,7 @@
|
|||
|
||||
#if defined(PLATFORM_DESKTOP)
|
||||
#define GLSL_VERSION 330
|
||||
#else // PLATFORM_RPI, PLATFORM_ANDROID, PLATFORM_WEB
|
||||
#else // PLATFORM_ANDROID, PLATFORM_WEB
|
||||
#define GLSL_VERSION 100
|
||||
#endif
|
||||
|
||||
|
|
|
|||
BIN
examples/shaders/shaders_model_shader
Executable file
BIN
examples/shaders/shaders_model_shader
Executable file
Binary file not shown.
|
|
@ -22,7 +22,7 @@
|
|||
|
||||
#if defined(PLATFORM_DESKTOP)
|
||||
#define GLSL_VERSION 330
|
||||
#else // PLATFORM_RPI, PLATFORM_ANDROID, PLATFORM_WEB
|
||||
#else // PLATFORM_ANDROID, PLATFORM_WEB
|
||||
#define GLSL_VERSION 100
|
||||
#endif
|
||||
|
||||
|
|
|
|||
BIN
examples/shaders/shaders_multi_sample2d
Executable file
BIN
examples/shaders/shaders_multi_sample2d
Executable file
Binary file not shown.
|
|
@ -22,7 +22,7 @@
|
|||
|
||||
#if defined(PLATFORM_DESKTOP)
|
||||
#define GLSL_VERSION 330
|
||||
#else // PLATFORM_RPI, PLATFORM_ANDROID, PLATFORM_WEB
|
||||
#else // PLATFORM_ANDROID, PLATFORM_WEB
|
||||
#define GLSL_VERSION 100
|
||||
#endif
|
||||
|
||||
|
|
|
|||
BIN
examples/shaders/shaders_palette_switch
Executable file
BIN
examples/shaders/shaders_palette_switch
Executable file
Binary file not shown.
|
|
@ -24,7 +24,7 @@
|
|||
|
||||
#if defined(PLATFORM_DESKTOP)
|
||||
#define GLSL_VERSION 330
|
||||
#else // PLATFORM_RPI, PLATFORM_ANDROID, PLATFORM_WEB
|
||||
#else // PLATFORM_ANDROID, PLATFORM_WEB
|
||||
#define GLSL_VERSION 100
|
||||
#endif
|
||||
|
||||
|
|
|
|||
BIN
examples/shaders/shaders_postprocessing
Executable file
BIN
examples/shaders/shaders_postprocessing
Executable file
Binary file not shown.
|
|
@ -22,7 +22,7 @@
|
|||
|
||||
#if defined(PLATFORM_DESKTOP)
|
||||
#define GLSL_VERSION 330
|
||||
#else // PLATFORM_RPI, PLATFORM_ANDROID, PLATFORM_WEB
|
||||
#else // PLATFORM_ANDROID, PLATFORM_WEB
|
||||
#define GLSL_VERSION 100
|
||||
#endif
|
||||
|
||||
|
|
|
|||
BIN
examples/shaders/shaders_raymarching
Executable file
BIN
examples/shaders/shaders_raymarching
Executable file
Binary file not shown.
|
|
@ -18,7 +18,7 @@
|
|||
|
||||
#if defined(PLATFORM_DESKTOP)
|
||||
#define GLSL_VERSION 330
|
||||
#else // PLATFORM_RPI, PLATFORM_ANDROID, PLATFORM_WEB -> Not supported at this moment
|
||||
#else // PLATFORM_ANDROID, PLATFORM_WEB -> Not supported at this moment
|
||||
#define GLSL_VERSION 100
|
||||
#endif
|
||||
|
||||
|
|
|
|||
BIN
examples/shaders/shaders_shapes_textures
Executable file
BIN
examples/shaders/shaders_shapes_textures
Executable file
Binary file not shown.
|
|
@ -22,7 +22,7 @@
|
|||
|
||||
#if defined(PLATFORM_DESKTOP)
|
||||
#define GLSL_VERSION 330
|
||||
#else // PLATFORM_RPI, PLATFORM_ANDROID, PLATFORM_WEB
|
||||
#else // PLATFORM_ANDROID, PLATFORM_WEB
|
||||
#define GLSL_VERSION 100
|
||||
#endif
|
||||
|
||||
|
|
|
|||
BIN
examples/shaders/shaders_simple_mask
Executable file
BIN
examples/shaders/shaders_simple_mask
Executable file
Binary file not shown.
|
|
@ -25,7 +25,7 @@
|
|||
|
||||
#if defined(PLATFORM_DESKTOP)
|
||||
#define GLSL_VERSION 330
|
||||
#else // PLATFORM_RPI, PLATFORM_ANDROID, PLATFORM_WEB
|
||||
#else // PLATFORM_ANDROID, PLATFORM_WEB
|
||||
#define GLSL_VERSION 100
|
||||
#endif
|
||||
|
||||
|
|
|
|||
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user