[client] egl_dynprocs: use official prototypes from system headers

This commit is contained in:
Quantum
2021-09-28 21:02:28 -04:00
committed by Geoffrey McRae
parent 778d27f08a
commit 5c7f168370
3 changed files with 20 additions and 32 deletions

View File

@@ -23,14 +23,14 @@
#include <stdbool.h>
#include <EGL/egl.h>
#include <EGL/eglext.h>
#include "common/types.h"
#include "egl_dynprocs.h"
struct SwapWithDamageData
{
bool init;
eglSwapBuffersWithDamageKHR_t func;
PFNEGLSWAPBUFFERSWITHDAMAGEKHRPROC func;
};
void swapWithDamageInit(struct SwapWithDamageData * data, EGLDisplay display);