[GEM-dev] svn update break rectangular texture with shader

cyrille henry ch at chnry.net
Thu Jan 28 18:50:58 CET 2010


the quality message have the same probleme.
i replace the 3 occurrences of :
  setModified();
with 
  m_rebuildList=1;
in pix_texture.cpp
i don't know if it's the solution or a hack, but it work.

c


IOhannes m zmoelnig a écrit :
> cyrille henry wrote:
>> hello,
>>
>> updating my shader, i find 1 more problem.
>>
>> the repeat message to texture does not work anymore. worst, when sending
>> it, the texture does not work at all.
>> see this patch : all shader and images used are in the glsl section in
>> example folder.
>>
> 
> aye, this is obviously a bug in [pix_texture], which seems to not
> re-initialize itself after a "repeat" message.
> until it get's fixed it helps to call "rectangle <x>" after the "repeat".
> but this is really an ugly hack and i hope to fix the problem asap.
> 
> fgmasdr
> IOhannes




More information about the GEM-dev mailing list