mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 05:18:08 +02:00
i965: Fix compiler warning from uninitialized "success" value.
This shouldn't happen, because the DDX should only load this driver if IS_965. But better to do something defined in that case.
This commit is contained in:
parent
ba6f4c9ee2
commit
35cdd7b6db
1 changed files with 1 additions and 1 deletions
|
|
@ -525,7 +525,7 @@ intelCreateContext(gl_api api,
|
|||
{
|
||||
__DRIscreen *sPriv = driContextPriv->driScreenPriv;
|
||||
struct intel_screen *intelScreen = sPriv->driverPrivate;
|
||||
bool success;
|
||||
bool success = false;
|
||||
|
||||
#ifdef I915
|
||||
if (IS_9XX(intelScreen->deviceID)) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue