diff options
author | Ian Romanick <idr@us.ibm.com> | 2005-08-05 19:13:51 +0000 |
---|---|---|
committer | Ian Romanick <idr@us.ibm.com> | 2005-08-05 19:13:51 +0000 |
commit | 6bc24c5c0560844e481b76600991665cc076eb2c (patch) | |
tree | 54724f11e892e576be4b826d3bac5394b7d0a437 /progs/redbook/material.c | |
parent | 126c89e35fb5179fe077f7593f31ea874c89dd65 (diff) |
In order to create the set of available extensions, we have to know if
direct-rendering is possible on a given screen. It is not possible to
determine this by just looking at driDisplay.private in the display
structure. However, it is possible to determine this by looking at
driScreen.private in the screen structure. This field is only non-NULL if a
DRI driver has been successfully loaded and bootstrapped. Once we get to
that point, we know that direct-rendering is at least theoretically
possible.
This fixes bugzilla #2875.
Diffstat (limited to 'progs/redbook/material.c')
0 files changed, 0 insertions, 0 deletions