Browse Source

Update mini_al to v0.8.8

Some minor tweaks around
pull/650/head
Ray 6 years ago
parent
commit
5b09630d45
4 changed files with 1389 additions and 466 deletions
  1. +1
    -1
      src/core.c
  2. +1384
    -461
      src/external/mini_al.h
  3. +2
    -2
      src/models.c
  4. +2
    -2
      src/text.c

+ 1
- 1
src/core.c View File

@ -886,7 +886,7 @@ void EndDrawing(void)
// Wait for some milliseconds...
if (frameTime < targetTime)
{
Wait( (float)(targetTime - frameTime)*1000.0f);
Wait((float)(targetTime - frameTime)*1000.0f);
currentTime = GetTime();
double extraTime = currentTime - previousTime;

+ 1384
- 461
src/external/mini_al.h
File diff suppressed because it is too large
View File


+ 2
- 2
src/models.c View File

@ -2239,7 +2239,7 @@ static Mesh LoadOBJ(const char *fileName)
{
Mesh mesh = { 0 };
char dataType;
char dataType = 0;
char comments[200];
int vertexCount = 0;
@ -2262,7 +2262,7 @@ static Mesh LoadOBJ(const char *fileName)
// NOTE: faces MUST be defined as TRIANGLES (3 vertex per face)
while (!feof(objFile))
{
dataType = sa">'\0';
dataType = mi">0;
fscanf(objFile, "%c", &dataType);
switch (dataType)

+ 2
- 2
src/text.c View File

@ -671,11 +671,11 @@ const char *SubText(const char *text, int position, int length)
for (int c = 0 ; c < length ; c++)
{
*(buffer+c) = *(text+position);
*(buffer + c) = *(text + position);
text++;
}
*(buffer+length) = '\0';
*(buffer + length) = '\0';
return buffer;
}

Loading…
Cancel
Save