mirror of
https://github.com/gnif/LookingGlass.git
synced 2024-12-23 14:21:57 +00:00
[client] egl: more verbose error on texture egl failures
This commit is contained in:
parent
69522495de
commit
da94075e7b
2 changed files with 4 additions and 3 deletions
2
VERSION
2
VERSION
|
@ -1 +1 @@
|
|||
fetch-1-gfce88fc72c+1
|
||||
fetch-2-g69522495de+1
|
|
@ -19,6 +19,7 @@ Place, Suite 330, Boston, MA 02111-1307 USA
|
|||
|
||||
#include "texture.h"
|
||||
#include "common/debug.h"
|
||||
#include "debug.h"
|
||||
#include "utils.h"
|
||||
|
||||
#include <stdlib.h>
|
||||
|
@ -233,7 +234,7 @@ bool egl_texture_setup(EGL_Texture * texture, enum EGL_PixelFormat pixFmt, size_
|
|||
|
||||
if (!texture->pboMap[i])
|
||||
{
|
||||
DEBUG_ERROR("glMapBufferRange failed for %d of %lu bytes", i, texture->pboBufferSize);
|
||||
EGL_ERROR("glMapBufferRange failed for %d of %lu bytes", i, texture->pboBufferSize);
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
@ -313,7 +314,7 @@ enum EGL_TexStatus egl_texture_process(EGL_Texture * texture)
|
|||
|
||||
case GL_WAIT_FAILED:
|
||||
glDeleteSync(texture->pboSync[pos]);
|
||||
DEBUG_ERROR("glClientWaitSync failed");
|
||||
EGL_ERROR("glClientWaitSync failed");
|
||||
return EGL_TEX_STATUS_ERROR;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue