Textures appear as if normals were inverted, yet shading is correct

ok, so everything was going good, until I updated an outer module...
then this happened:
I tried changing the display list generation code to draw textures correctly (so I could disable texturing externally), but still, nothing.

the module I updated only deals with the GUI...
it clears the depth buffer before changing the mode to ortho...

also, yes, this development of my program doesn't use shaders as the next development will use them,
so everything is pretty much done via the CPU.

I'm doing this for compatibility with older systems, as I know a few people with 800MHz CPUs who are into 3D dev.
(don't bite my head off for using deprecated functions plox) :P

anyways...
any idea what might be happening here??
if you need my code, I can post it.

also, it's rendered using SDL. >_<
(the next development will use Qt so I won't have to redo the entire context on a resize event)