blitting and GL color

Started by raft, April 08, 2012, 06:09:27 PM

Previous topic - Next topic

EgonOlsen

Quote from: raft on April 11, 2012, 09:19:07 AM
what do you mean exactly by 'variations of this'?
Bascially to leave out the color_array stuff, because i couldn't track when i'm disabling/enabling this and in which state it should actually be after your call. But if it doesn't help, it's pointless anyway.

EgonOlsen

Have you tried to check for gl errors after doing your calls? Maybe it just doesn't want a glColor-call in its current state.

raft

sorry, i'm correcting myself, these enable/disable calls somehow didnt enter the application in my last try.

with these glEnable/DisableClientState calls, lines of my colors are corrected. but still some blits are missing

GL10.glGetError returns GL_NO_ERROR

EgonOlsen

...and what if you add that dummy-world-stuff in again?

raft

yes, that brought back my missing blits :) so the conclusion is.. ?

EgonOlsen

...that this is all a kludgy hack?  ;) I suggest to wrap that stuff somewhere and forget about it...

raft

ok, no problem :) i can live with that