mirror of
https://github.com/raysan5/raylib.git
synced 2025-09-12 06:18:14 +00:00
Update mini_al to v0.8.8
Some minor tweaks around
This commit is contained in:
@@ -886,7 +886,7 @@ void EndDrawing(void)
|
|||||||
// Wait for some milliseconds...
|
// Wait for some milliseconds...
|
||||||
if (frameTime < targetTime)
|
if (frameTime < targetTime)
|
||||||
{
|
{
|
||||||
Wait( (float)(targetTime - frameTime)*1000.0f);
|
Wait((float)(targetTime - frameTime)*1000.0f);
|
||||||
|
|
||||||
currentTime = GetTime();
|
currentTime = GetTime();
|
||||||
double extraTime = currentTime - previousTime;
|
double extraTime = currentTime - previousTime;
|
||||||
|
1849
src/external/mini_al.h
vendored
1849
src/external/mini_al.h
vendored
File diff suppressed because it is too large
Load Diff
@@ -2239,7 +2239,7 @@ static Mesh LoadOBJ(const char *fileName)
|
|||||||
{
|
{
|
||||||
Mesh mesh = { 0 };
|
Mesh mesh = { 0 };
|
||||||
|
|
||||||
char dataType;
|
char dataType = 0;
|
||||||
char comments[200];
|
char comments[200];
|
||||||
|
|
||||||
int vertexCount = 0;
|
int vertexCount = 0;
|
||||||
@@ -2262,7 +2262,7 @@ static Mesh LoadOBJ(const char *fileName)
|
|||||||
// NOTE: faces MUST be defined as TRIANGLES (3 vertex per face)
|
// NOTE: faces MUST be defined as TRIANGLES (3 vertex per face)
|
||||||
while (!feof(objFile))
|
while (!feof(objFile))
|
||||||
{
|
{
|
||||||
dataType = '\0';
|
dataType = 0;
|
||||||
fscanf(objFile, "%c", &dataType);
|
fscanf(objFile, "%c", &dataType);
|
||||||
|
|
||||||
switch (dataType)
|
switch (dataType)
|
||||||
|
@@ -671,11 +671,11 @@ const char *SubText(const char *text, int position, int length)
|
|||||||
|
|
||||||
for (int c = 0 ; c < length ; c++)
|
for (int c = 0 ; c < length ; c++)
|
||||||
{
|
{
|
||||||
*(buffer+c) = *(text+position);
|
*(buffer + c) = *(text + position);
|
||||||
text++;
|
text++;
|
||||||
}
|
}
|
||||||
|
|
||||||
*(buffer+length) = '\0';
|
*(buffer + length) = '\0';
|
||||||
|
|
||||||
return buffer;
|
return buffer;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user