mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 00:58:05 +02:00
fixed _mesa_getenv() weirdness
This commit is contained in:
parent
6a2d72ecff
commit
eb2b63877a
1 changed files with 3 additions and 3 deletions
|
|
@ -1,10 +1,10 @@
|
|||
/* $Id: imports.c,v 1.5 2001/02/06 04:06:35 keithw Exp $ */
|
||||
/* $Id: imports.c,v 1.6 2001/03/02 16:01:22 brianp Exp $ */
|
||||
|
||||
/*
|
||||
* Mesa 3-D graphics library
|
||||
* Version: 3.5
|
||||
*
|
||||
* Copyright (C) 1999-2000 Brian Paul All Rights Reserved.
|
||||
* Copyright (C) 1999-2001 Brian Paul All Rights Reserved.
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining a
|
||||
* copy of this software and associated documentation files (the "Software"),
|
||||
|
|
@ -104,7 +104,7 @@ static char *
|
|||
_mesa_getenv(__GLcontext *gc, const char *var)
|
||||
{
|
||||
(void) gc;
|
||||
return gc->imports.getenv(gc, var);
|
||||
return getenv(var);
|
||||
}
|
||||
|
||||
static int
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue