mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-04-21 16:20:39 +02:00
silence a warning
This commit is contained in:
parent
47b0bc1a36
commit
97d8a35fa8
1 changed files with 2 additions and 1 deletions
|
|
@ -21,7 +21,6 @@
|
|||
* AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
||||
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
*/
|
||||
/* $XFree86: xc/extras/Mesa/src/X/xm_api.c,v 1.2 2002/02/26 23:37:31 tsi Exp $ */
|
||||
|
||||
/*
|
||||
* This file contains the implementations of all the XMesa* functions.
|
||||
|
|
@ -2560,6 +2559,8 @@ unsigned long XMesaDitherColor( XMesaContext xmesa, GLint x, GLint y,
|
|||
GLint b = (GLint) (blue * 255.0F);
|
||||
GLint a = (GLint) (alpha * 255.0F);
|
||||
|
||||
(void) DitherValues; /* silence warning */
|
||||
|
||||
switch (xmesa->pixelformat) {
|
||||
case PF_Index:
|
||||
return 0;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue