mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-04 22:49:13 +02:00
Make COPY_FLOAT available to a wider audience.
This commit is contained in:
parent
23f48064b8
commit
b5f0de18b9
1 changed files with 1 additions and 6 deletions
|
|
@ -1,4 +1,4 @@
|
|||
/* $Id: api_noop.c,v 1.6 2001/03/07 18:16:40 gareth Exp $ */
|
||||
/* $Id: api_noop.c,v 1.7 2001/03/20 18:35:23 gareth Exp $ */
|
||||
|
||||
/*
|
||||
* Mesa 3-D graphics library
|
||||
|
|
@ -35,11 +35,6 @@
|
|||
#include "mmath.h"
|
||||
#include "mtypes.h"
|
||||
|
||||
#ifdef __i386__
|
||||
#define COPY_FLOAT(a,b) *(int*)&(a) = *(int*)&(b)
|
||||
#else
|
||||
#define COPY_FLOAT(a,b) (a) = (b)
|
||||
#endif
|
||||
|
||||
/* In states where certain vertex components are required for t&l or
|
||||
* rasterization, we still need to keep track of the current values.
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue