compile fix

This commit is contained in:
Toad King 2012-10-18 19:09:16 -04:00
parent 86fb0984d2
commit 301848e037
9 changed files with 18 additions and 18 deletions

View File

@ -307,12 +307,12 @@ static bool gfx_ctx_has_focus(void)
return true;
}
bool gfx_ctx_can_egl_image_buffer(void)
static bool gfx_ctx_can_egl_image_buffer(void)
{
return false;
}
bool gfx_ctx_write_egl_image(const void *frame, unsigned width, unsigned height, unsigned pitch, bool rgb32, void **image_handle)
static bool gfx_ctx_write_egl_image(const void *frame, unsigned width, unsigned height, unsigned pitch, bool rgb32, void **image_handle)
{
return false;
}

View File

@ -625,12 +625,12 @@ static bool gfx_ctx_bind_api(enum gfx_ctx_api api)
}
}
bool gfx_ctx_can_egl_image_buffer(void)
static bool gfx_ctx_can_egl_image_buffer(void)
{
return false;
}
bool gfx_ctx_write_egl_image(const void *frame, unsigned width, unsigned height, unsigned pitch, bool rgb32, void **image_handle)
static bool gfx_ctx_write_egl_image(const void *frame, unsigned width, unsigned height, unsigned pitch, bool rgb32, void **image_handle)
{
return false;
}

View File

@ -462,12 +462,12 @@ static bool gfx_ctx_bind_api(enum gfx_ctx_api api)
return api == GFX_CTX_OPENGL_API;
}
bool gfx_ctx_can_egl_image_buffer(void)
static bool gfx_ctx_can_egl_image_buffer(void)
{
return false;
}
bool gfx_ctx_write_egl_image(const void *frame, unsigned width, unsigned height, unsigned pitch, bool rgb32, void **image_handle)
static bool gfx_ctx_write_egl_image(const void *frame, unsigned width, unsigned height, unsigned pitch, bool rgb32, void **image_handle)
{
return false;
}

View File

@ -378,12 +378,12 @@ static bool gfx_ctx_bind_api(enum gfx_ctx_api api)
return api == GFX_CTX_OPENGL_API || GFX_CTX_OPENGL_ES_API;
}
bool gfx_ctx_can_egl_image_buffer(void)
static bool gfx_ctx_can_egl_image_buffer(void)
{
return false;
}
bool gfx_ctx_write_egl_image(const void *frame, unsigned width, unsigned height, unsigned pitch, bool rgb32, void **image_handle)
static bool gfx_ctx_write_egl_image(const void *frame, unsigned width, unsigned height, unsigned pitch, bool rgb32, void **image_handle)
{
return false;
}

View File

@ -316,12 +316,12 @@ static bool gfx_ctx_bind_api(enum gfx_ctx_api api)
return api == GFX_CTX_OPENGL_API;
}
bool gfx_ctx_can_egl_image_buffer(void)
static bool gfx_ctx_can_egl_image_buffer(void)
{
return false;
}
bool gfx_ctx_write_egl_image(const void *frame, unsigned width, unsigned height, unsigned pitch, bool rgb32, void **image_handle)
static bool gfx_ctx_write_egl_image(const void *frame, unsigned width, unsigned height, unsigned pitch, bool rgb32, void **image_handle)
{
return false;
}

View File

@ -300,7 +300,7 @@ static float gfx_ctx_translate_aspect(unsigned width, unsigned height)
return (float)width / height;
}
bool gfx_ctx_can_egl_image_buffer(void)
static bool gfx_ctx_can_egl_image_buffer(void)
{
/*peglCreateImageKHR = (PFNEGLCREATEIMAGEKHRPROC)gfx_ctx_get_proc_address("eglCreateImageKHR");
peglDestroyImageKHR = (PFNEGLDESTROYIMAGEKHRPROC)gfx_ctx_get_proc_address("eglDestroyImageKHR");
@ -308,7 +308,7 @@ bool gfx_ctx_can_egl_image_buffer(void)
return false;
}
bool gfx_ctx_write_egl_image(const void *frame, unsigned width, unsigned height, unsigned pitch, bool rgb32, void **image_handle)
static bool gfx_ctx_write_egl_image(const void *frame, unsigned width, unsigned height, unsigned pitch, bool rgb32, void **image_handle)
{
/*bool ret = false;
if (!eglBuffer || !vcBuffer || (width != bufferLastWidth && height != bufferLastHeight && rgb32 != bufferLastRgb32))

View File

@ -404,12 +404,12 @@ static bool gfx_ctx_bind_api(enum gfx_ctx_api api)
return api == GFX_CTX_OPENGL_API;
}
bool gfx_ctx_can_egl_image_buffer(void)
static bool gfx_ctx_can_egl_image_buffer(void)
{
return false;
}
bool gfx_ctx_write_egl_image(const void *frame, unsigned width, unsigned height, unsigned pitch, bool rgb32, void **image_handle)
static bool gfx_ctx_write_egl_image(const void *frame, unsigned width, unsigned height, unsigned pitch, bool rgb32, void **image_handle)
{
return false;
}

View File

@ -525,12 +525,12 @@ int gfx_ctx_xdk_check_resolution(unsigned resolution_id)
return 0;
}
bool gfx_ctx_can_egl_image_buffer(void)
static bool gfx_ctx_can_egl_image_buffer(void)
{
return false;
}
bool gfx_ctx_write_egl_image(const void *frame, unsigned width, unsigned height, unsigned pitch, bool rgb32, void **image_handle)
static bool gfx_ctx_write_egl_image(const void *frame, unsigned width, unsigned height, unsigned pitch, bool rgb32, void **image_handle)
{
return false;
}

View File

@ -503,12 +503,12 @@ static bool gfx_ctx_bind_api(enum gfx_ctx_api api)
}
}
bool gfx_ctx_can_egl_image_buffer(void)
static bool gfx_ctx_can_egl_image_buffer(void)
{
return false;
}
bool gfx_ctx_write_egl_image(const void *frame, unsigned width, unsigned height, unsigned pitch, bool rgb32, void **image_handle)
static bool gfx_ctx_write_egl_image(const void *frame, unsigned width, unsigned height, unsigned pitch, bool rgb32, void **image_handle)
{
return false;
}