diff options
author | marha <marha@users.sourceforge.net> | 2011-01-13 22:07:24 +0000 |
---|---|---|
committer | marha <marha@users.sourceforge.net> | 2011-01-13 22:07:24 +0000 |
commit | dc54712d6b67dac7fc745cf3b9019b2c4c81f193 (patch) | |
tree | 002b3fd0e0233fe3e6c57d603a8471794f5ba922 /mesalib/src/mesa/drivers/dri | |
parent | ca14143b18b939ee4506936e77478f8c593802b5 (diff) | |
parent | a0a46bd55d7cbbf70757a29c067e21b70ac4e2df (diff) | |
download | vcxsrv-dc54712d6b67dac7fc745cf3b9019b2c4c81f193.tar.gz vcxsrv-dc54712d6b67dac7fc745cf3b9019b2c4c81f193.tar.bz2 vcxsrv-dc54712d6b67dac7fc745cf3b9019b2c4c81f193.zip |
svn merge ^/branches/released .
Diffstat (limited to 'mesalib/src/mesa/drivers/dri')
-rw-r--r-- | mesalib/src/mesa/drivers/dri/common/dri_util.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/mesalib/src/mesa/drivers/dri/common/dri_util.c b/mesalib/src/mesa/drivers/dri/common/dri_util.c index 3bf782a1b..8b3b55e5e 100644 --- a/mesalib/src/mesa/drivers/dri/common/dri_util.c +++ b/mesalib/src/mesa/drivers/dri/common/dri_util.c @@ -790,6 +790,9 @@ driCreateNewScreen(int scrn, static const __DRIextension *emptyExtensionList[] = { NULL };
__DRIscreen *psp;
+ if (driDriverAPI.InitScreen == NULL)
+ return NULL;
+
psp = calloc(1, sizeof *psp);
if (!psp)
return NULL;
|