Re: can not get cogl texture using pyGObject

2011-11-23 Thread Peter Lunden
I have solved the problem but there is still a problem. The value returned by txt.get_cogl_texture() can be passed to Cogl without problem but it can not be used in any way in Python, it can not be printed or tested for zero for instance. It even crashes the Python debugger if you try to inspe

Re: can not get cogl texture using pyGObject

2011-11-17 Thread Tomeu Vizoso
On Wed, Nov 16, 2011 at 19:12, Peter Lunden wrote: > Trying to run the following code, crashes at the print line, it prints 'txt' > then it dies. Hi, could you please attach a backtrace? Saying it dies tells very little. http://wiki.debian.org/HowToGetABacktrace#Running_gdb Thanks, Tomeu > Se

can not get cogl texture using pyGObject

2011-11-16 Thread Peter Lunden
Trying to run the following code, crashes at the print line, it prints 'txt' then it dies. Seams to be a problem with the value returned by the get_cogl_texture code. I have tried to use gtxt i different ways in Cogl with the same result. Is this a bug or do I misunderstand something? de