"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "3d.c" between
Ygl-4.2f.tar.gz and Ygl-4.2g.tar.gz

About: Ygl emulates SGI’s GL routines under X11.

3d.c  (Ygl-4.2f):3d.c  (Ygl-4.2g)
/* /*
* Ygl: Run GL programs with standard X11 and/or OpenGL routines. * Ygl: Run GL programs with standard X11 and/or OpenGL routines.
* (C) Fred Hucht 1996-2007 * (C) Fred Hucht 1996-2007
* EMail: fred<at>thp.Uni-Duisburg.de * EMail: fred<at>thp.Uni-Duisburg.de
*/ */
static const char vcid[] = "$Id: 3d.c,v 4.9 2007-05-08 13:28:43+02 fred Exp $"; static const char vcid[] = "$Id: 3d.c,v 4.9 2007-05-08 13:28:43+02 fred Exp fred $";
#include "header.h" #include "header.h"
#ifdef OGL #ifdef OGL
static int msingle = 1; /* IrisGL is in single matrix mode per default */ static int msingle = 1; /* IrisGL is in single matrix mode per default */
#endif #endif
/* /*
* Projection transformations (apply to projection matrix stack) * Projection transformations (apply to projection matrix stack)
*/ */
skipping to change at line 968 skipping to change at line 968
} }
void scrmask(Screencoord l, Screencoord r, Screencoord b, Screencoord t) { void scrmask(Screencoord l, Screencoord r, Screencoord b, Screencoord t) {
const char * MyName = "scrmask"; const char * MyName = "scrmask";
I(MyName, "%d,%d,%d,%d", l, r, b, t); I(MyName, "%d,%d,%d,%d", l, r, b, t);
if(!Ygl.UseOGL) NI(MyName); if(!Ygl.UseOGL) NI(MyName);
glScissor(l, b, r - l, t - b); glScissor(l, b, r - l, t - b);
glEnable(GL_SCISSOR_TEST); glEnable(GL_SCISSOR_TEST);
} }
/* Added 2012 */
void blanktime ( Int32 a ) {
const char * MyName = "blanktime";
//I(MyName, "");
if(!Ygl.UseOGL) NI(MyName);
NI(MyName);
}
void defpattern ( Int16 a, Int16 b, Int16 * c ) {
const char * MyName = "defpattern";
I(MyName, "");
if(!Ygl.UseOGL) NI(MyName);
NI(MyName);
}
Int32 getpattern ( void ) {
const char * MyName = "getpattern";
I(MyName, "");
if(!Ygl.UseOGL) NIR(MyName, 0);
NIR(MyName, 0);
}
void setpattern ( Int16 a ) {
const char * MyName = "setpattern";
I(MyName, "");
if(!Ygl.UseOGL) NI(MyName);
NI(MyName);
}
void writemask ( Colorindex a ) {
const char * MyName = "writemask";
I(MyName, "");
if(!Ygl.UseOGL) NI(MyName);
NI(MyName);
}
#endif /* OGL */ #endif /* OGL */
 End of changes. 2 change blocks. 
1 lines changed or deleted 34 lines changed or added

Home  |  About  |  All  |  Newest  |  Fossies Dox  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTPS