ADDED: GenMeshDefault() #1556

This commit is contained in:
raysan5
2021-04-02 15:56:35 +02:00
parent 46650b5fb1
commit c21baf0d92
3 changed files with 23 additions and 16 deletions

View File

@@ -92,7 +92,7 @@
#define RL_FREE(p) free(p)
#endif
#else
#include "raylib.h" // Required for: Model, Mesh, Material, Shader, Texture2D
#include "raylib.h" // Required for: Shader, Texture2D
#endif
#include "raymath.h" // Required for: Vector3, Matrix
@@ -2772,7 +2772,6 @@ void rlUnloadTexture(unsigned int id)
glDeleteTextures(1, &id);
}
// Generate mipmap data for selected texture
void rlGenerateMipmaps(Texture2D *texture)
{