Minor tweaks

This commit is contained in:
raysan5 2020-03-25 19:38:55 +01:00
parent 96005f2566
commit 3d41c1b6cd
2 changed files with 1 additions and 2 deletions

View File

@ -37,7 +37,6 @@ int main(void)
camera.fovy = 45.0f; // Camera field-of-view Y
camera.type = CAMERA_PERSPECTIVE; // Camera mode type
Model model = LoadModel("resources/guy/guy.iqm"); // Load the animated model mesh and basic data
Texture2D texture = LoadTexture("resources/guy/guytex.png"); // Load model texture and set material
SetMaterialTexture(&model.materials[0], MAP_DIFFUSE, texture); // Set model material map texture

View File

@ -122,7 +122,7 @@
#define RAYLIB_VERSION "3.0"
#endif
#include "utils.h" // Required for: TRACELOG macros and fopen() Android mapping
#include "utils.h" // Required for: TRACELOG macros
#if (defined(__linux__) || defined(PLATFORM_WEB)) && _POSIX_C_SOURCE < 199309L
#undef _POSIX_C_SOURCE