save a round-trip with grDrawTriangle in SST1
This commit is contained in:
@@ -19,6 +19,11 @@
|
||||
**
|
||||
** $Header$
|
||||
** $Log$
|
||||
** Revision 1.1.2.2 2004/10/04 09:35:59 dborca
|
||||
** second cut at Glide3x for Voodoo1/Rush (massive update):
|
||||
** delayed validation, vertex snapping, clip coordinates, strip/fan_continue, bugfixes.
|
||||
** and probably a bunch of other crap that I forgot
|
||||
**
|
||||
** Revision 1.1.2.1 2004/03/02 07:55:30 dborca
|
||||
** Bastardised Glide3x for SST1
|
||||
**
|
||||
@@ -152,7 +157,7 @@ GR_ENTRY(grDrawLine, void, ( const void *a, const void *b ))
|
||||
** grDrawTriangle
|
||||
*/
|
||||
|
||||
#if defined(GLIDE_USE_C_TRISETUP) || defined(__MSC__)
|
||||
#if defined(GLIDE_USE_C_TRISETUP)
|
||||
GR_ENTRY(grDrawTriangle, void, ( const void *a, const void *b, const void *c ))
|
||||
{
|
||||
GR_BEGIN_NOFIFOCHECK("grDrawTriangle",92);
|
||||
|
||||
@@ -18,6 +18,11 @@
|
||||
;;
|
||||
;; $Header$
|
||||
;; $Log$
|
||||
;; Revision 1.1.2.2 2004/10/04 09:36:00 dborca
|
||||
;; second cut at Glide3x for Voodoo1/Rush (massive update):
|
||||
;; delayed validation, vertex snapping, clip coordinates, strip/fan_continue, bugfixes.
|
||||
;; and probably a bunch of other crap that I forgot
|
||||
;;
|
||||
;; Revision 1.1.2.1 2004/03/02 07:55:30 dborca
|
||||
;; Bastardised Glide3x for SST1
|
||||
;;
|
||||
@@ -238,10 +243,11 @@ segment TEXT
|
||||
|
||||
;--------------------------------------------------------------------------
|
||||
|
||||
%if XOS != XOS_WIN32
|
||||
align 4
|
||||
proc grDrawTriangle, 12
|
||||
endp
|
||||
%if XOS == XOS_WIN32
|
||||
export _grDrawTriangle@12
|
||||
%endif
|
||||
|
||||
; FALL THRU to _trisetup
|
||||
|
||||
@@ -19,6 +19,11 @@
|
||||
;; $Header$
|
||||
;; $Revision$
|
||||
;; $Log$
|
||||
;; Revision 1.1.2.3 2004/10/04 09:36:00 dborca
|
||||
;; second cut at Glide3x for Voodoo1/Rush (massive update):
|
||||
;; delayed validation, vertex snapping, clip coordinates, strip/fan_continue, bugfixes.
|
||||
;; and probably a bunch of other crap that I forgot
|
||||
;;
|
||||
;; Revision 1.1.2.2 2004/03/08 07:42:22 dborca
|
||||
;; Voodoo Rush fixes
|
||||
;;
|
||||
@@ -204,10 +209,11 @@ segment TEXT
|
||||
|
||||
;--------------------------------------------------------------------------
|
||||
|
||||
%if XOS != XOS_WIN32
|
||||
align 4
|
||||
proc grDrawTriangle, 12
|
||||
endp
|
||||
%if XOS == XOS_WIN32
|
||||
export _grDrawTriangle@12
|
||||
%endif
|
||||
|
||||
; FALL THRU to _trisetup
|
||||
|
||||
Reference in New Issue
Block a user