mirror of
https://github.com/libretro/RetroArch
synced 2024-12-28 09:29:16 +00:00
Should fix some building issues on Win32.
This commit is contained in:
parent
af48ea7165
commit
20fe8827e2
2
gl.c
2
gl.c
@ -20,11 +20,13 @@
|
||||
#include "driver.h"
|
||||
#include "config.h"
|
||||
#include <GL/glfw.h>
|
||||
#include <GL/glext.h>
|
||||
#include <stdint.h>
|
||||
#include "libsnes.hpp"
|
||||
#include <stdio.h>
|
||||
#include <sys/time.h>
|
||||
|
||||
|
||||
#ifdef HAVE_CG
|
||||
#include <Cg/cg.h>
|
||||
#include <Cg/cgGL.h>
|
||||
|
7
openal.c
7
openal.c
@ -22,6 +22,10 @@
|
||||
#include <time.h>
|
||||
#include <string.h>
|
||||
|
||||
#ifdef _WIN32
|
||||
#include <windows.h>
|
||||
#endif
|
||||
|
||||
#define BUFSIZE 128
|
||||
|
||||
typedef struct al
|
||||
@ -217,6 +221,9 @@ static void __al_free(void *data)
|
||||
free(al->res_buf);
|
||||
}
|
||||
}
|
||||
alcMakeContextCurrent(NULL);
|
||||
alcDestroyContext(al->ctx);
|
||||
alcCloseDevice(al->handle);
|
||||
free(al);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user