73 |
public int addToListGL(GraphicsAPI.Window win, |
public int addToListGL(GraphicsAPI.Window win, |
74 |
int[] list, int curs, int coordsys1, |
int[] list, int curs, int coordsys1, |
75 |
int coordsys2) { |
int coordsys2) { |
76 |
|
float [] boxwh = new float[2]; |
77 |
|
|
78 |
|
|
79 |
if(dbg) pa("Addtolistgl rectbg "+coordsys1); |
if(dbg) pa("Addtolistgl rectbg "+coordsys1); |
80 |
if(glList == null) { |
if(glList == null) { |
81 |
|
|
82 |
glList = GLRen.createCallListCoorded( |
glList = GLRen.createCallListBoxCoorded( |
83 |
"PushAttrib COLOR_BUFFER_BIT ENABLE_BIT\n"+ |
"PushAttrib COLOR_BUFFER_BIT ENABLE_BIT\n"+ |
84 |
"Disable TEXTURE_2D\n"+ |
"Disable TEXTURE_2D\n"+ |
85 |
"Color "+ColorUtil.colorGLString(bg)+" 1\n" + |
"Color "+ColorUtil.colorGLString(bg)+" 1\n" + |