GLXBadDrawable.
v2: Fix space issue (Alex Davy)
https://bugs.freedesktop.org/show_bug.cgi?id=79629
Signed-off-by: Xiong Zhang
---
src/glx/dri3_glx.c | 12 +---
1 file changed, 9 insertions(+), 3 deletions(-)
diff --git a/src/glx/dri3_glx.c b/src/glx/dri3_glx.c
index 1ddc723..058f7e7 100644
--- a
Signed-off-by: Xiong Zhang
---
src/glx/dri2_glx.c | 5 +
src/glx/dri3_glx.c | 5 +
src/glx/dri_glx.c | 5 +
src/glx/drisw_glx.c | 5 +
4 files changed, 20 insertions(+)
diff --git a/src/glx/dri2_glx.c b/src/glx/dri2_glx.c
index 462d560..f980f82 100644
--- a/src/glx
The return value for glx_context->vtable->bind may be Success or
GLXBadContext, but the macro value for both Success and GLXBadContext
are 0, so the caller can't identify the return value between them.
Signed-off-by: Xiong Zhang
---
src/glx/applegl_glx.c | 12 +++-
src/glx
GLXBadDrawable.
v2: Fix spacing issue (Axel Davy)
https://bugs.freedesktop.org/show_bug.cgi?id=79629
Signed-off-by: Xiong Zhang
---
src/glx/dri3_glx.c | 12 +---
1 file changed, 9 insertions(+), 3 deletions(-)
diff --git a/src/glx/dri3_glx.c b/src/glx/dri3_glx.c
index e3fc4de..a07e8d4 100644
GLXBadDrawable.
https://bugs.freedesktop.org/show_bug.cgi?id=79629
Signed-off-by: Xiong Zhang
---
src/glx/dri3_glx.c | 13 ++---
1 file changed, 10 insertions(+), 3 deletions(-)
diff --git a/src/glx/dri3_glx.c b/src/glx/dri3_glx.c
index 1ddc723..9cd0aab 100644
--- a/src/glx/dri3_glx.c
+++ b/src
the width and
height of Draw buffer is zero, this causes glClear() return early
without calling Driver.Clear(); finaly Draw buffer doesn't have
bo, so eglSwapBuffers() occur segment fault error.
Signed-off-by: Xiong Zhang
---
src/mesa/drivers/dri/i965/brw_context.c | 10 ++
1 file cha