Browse Source

Minor tweaks

pull/1154/head
raysan5 4 years ago
parent
commit
3d41c1b6cd
2 changed files with 1 additions and 2 deletions
  1. +0
    -1
      examples/models/models_animation.c
  2. +1
    -1
      src/core.c

+ 0
- 1
examples/models/models_animation.c 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

+ 1
- 1
src/core.c 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

Loading…
Cancel
Save