dbluelle, I just found possible memory overflow issue in code for Pandora. Please, take a look:
https://github.com/dbluelle/pandora-astromenace/blob/master/AstroMenaceSource/GraphicFX/SkyBox.cpp#L59
you need
int VFV = RI_3f_XYZ | RI_2_TEX |
RI_DUBLICATE_TEX_COORD;
or
you'll need more space in buffer for 2 more float (for separate second textrures coordinates)
float buff[(5
+2)*4]; ... and you'll need add some more lines to fill second textures coordinates for each vertex (if you need second textures coordinates)...
or
just revert code to previous upstream code version (with two rendering pass), imo, the best chose for you, since you disable stars layer anyway.
the possible memory overflow point (remember, default value is RI_SEPARATE_TEX_COORD):
https://github.com/dbluelle/pandora-astromenace/blob/master/AstroMenaceSource/Core/RendererInterface/OGL_Draw3D.cpp#L218
now, you have VFV that will operate with memory "(5
+2)*4 floats", but provide (and have reserved) only "5*4 floats". This works somehow only because you provide stride "5 floats". So, each vertex internal stride set to "7 floats", but then forced back to "5 floats"... but the last one should use 2 floats of memory you have not reserved for use. So, we have possible memory overflow issue here.
Hope, this help in you work.