OSDN Git Service
(root)
/
android-x86
/
external-mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Dont call exit() from the DRI driver, with AIGLX this is particularly nasty
[android-x86/external-mesa.git]
/
src
/
mesa
/
drivers
/
dri
/
nouveau
/
nouveau_context.c
diff --git
a/src/mesa/drivers/dri/nouveau/nouveau_context.c
b/src/mesa/drivers/dri/nouveau/nouveau_context.c
index
00f0646
..
ff00782
100644
(file)
--- a/
src/mesa/drivers/dri/nouveau/nouveau_context.c
+++ b/
src/mesa/drivers/dri/nouveau/nouveau_context.c
@@
-79,7
+79,8
@@
GLboolean nouveauCreateContext( const __GLcontextModes *glVisual,
return GL_FALSE;
/* Create the hardware context */
- nouveauFifoInit(nmesa);
+ if (!nouveauFifoInit(nmesa))
+ return GL_FALSE;
nouveauObjectInit(nmesa);
/* Init default driver functions then plug in our nouveau-specific functions