Создать ответ 
 
Рейтинг темы:
  • Голосов: 0 - Средняя оценка: 0
  • 1
  • 2
  • 3
  • 4
  • 5
SDL_FreeSurface ?
Автор Сообщение
superdefault Не на форуме
Пользователь
**

Сообщений: 24
Зарегистрирован: 06.01.2011
Рейтинг: 0
Сказал спасибо: 1
Поблагодарили 1 раз(а) в 1 сообщ.
Сообщение: #4
RE: SDL_FreeSurface ?
dammmn. no luck here....

if i do it like this:
DS.GUI_ContainerAdd(self.apps.panel, b);
DS.GUI_ObjectDecRef(DS.GUI_AnyToObject(b));

the app won't even start and freezes the loading screen.
without DS.GUI_ObjectDecRef(DS.GUI_AnyToObject(b));
the app starts again.

b is definitely a button.
GUI_ContainerAdd adds it to the screen.
so nothing wrong there i'd say.

what could be the reason for DS.GUI_ObjectDecRef to freeze everything even BEFORE it is called?

EDIT: i am testing on nullDC. if that matters...
(Последний раз сообщение было отредактировано 01.11.2011 в 20:39, отредактировал пользователь superdefault.)
01.11.2011 20:36
Найти все сообщения Цитировать это сообщение
Создать ответ 


Сообщения в этой теме
SDL_FreeSurface ? - superdefault - 01.11.2011, 12:56
RE: SDL_FreeSurface ? - SWAT - 01.11.2011, 13:30
RE: SDL_FreeSurface ? - superdefault - 01.11.2011, 13:40
RE: SDL_FreeSurface ? - superdefault - 01.11.2011 20:36
RE: SDL_FreeSurface ? - SWAT - 02.11.2011, 07:05
RE: SDL_FreeSurface ? - superdefault - 02.11.2011, 13:20
RE: SDL_FreeSurface ? - SWAT - 03.11.2011, 07:22
RE: SDL_FreeSurface ? - superdefault - 03.11.2011, 19:16
RE: SDL_FreeSurface ? - SWAT - 04.11.2011, 09:16
RE: SDL_FreeSurface ? - superdefault - 06.11.2011, 17:19
RE: SDL_FreeSurface ? - SWAT - 06.11.2011, 19:29
RE: SDL_FreeSurface ? - superdefault - 10.11.2011, 22:43
RE: SDL_FreeSurface ? - SWAT - 11.11.2011, 09:26
RE: SDL_FreeSurface ? - superdefault - 15.11.2011, 13:34
RE: SDL_FreeSurface ? - superdefault - 17.11.2011, 14:22
RE: SDL_FreeSurface ? - SWAT - 17.11.2011, 17:48

Переход:


Пользователи просматривают эту тему: 2 Гость(ей)