From: Daniel V. <vo...@lo...> - 2000-06-28 02:26:59
|
Daniel Vogel wrote: > > hi` > > glPush/PopClientAttrib seems to be broken in indirect mode on a G400. I > set GL_UNPACK_ROW_LENGTH to 1024 inside SDL but encapsule it within > glPush/PopClientAttrib. It then segfaults within my app in > glTexSubImage2D with an unpack row length of 1024 instead of 0. It works > in software mode and on my Voodoo 3. It also works in direct mode on the > G400. I fixed a bug related to glPush/PopClientAttrib. The data that got pushed/popped never got used :-) Well, my patch is a minimal code change patch so I guess someone might want to redo it doing a search & replace approach. But well, it works for me and BAT :-) > Seems like my app (Building Architect Tool for SC3K) triggers some > strange bugs in Utah GLX (packed pixels, NULL pointer for glTexImage2D > and now the row_length/ push/ pop thing) ;-) Oh yes, but now it works on a G400 :-) -- Daniel Vogel Programmer Loki Entertainment Software |