#exult@irc.freenode.net logs for 18 Dec 2017 (GMT)

Archive Today Yesterday Tomorrow
Exult homepage


[02:05:05] <-- Dominus has left IRC (Ping timeout: 260 seconds)
[02:05:24] --> Dominus has joined #exult
[02:05:24] --- ChanServ gives channel operator status to Dominus
[06:20:18] <-- Rottingbeef has left IRC ()
[07:05:12] --> ttarrant has joined #exult
[12:26:17] <-- Lightkey has left IRC (Ping timeout: 265 seconds)
[12:38:31] --> Lightkey has joined #exult
[14:12:46] --> Rottingbeef has joined #exult
[16:52:35] <-- ttarrant has left IRC (Quit: Leaving)
[17:59:15] --> michael-kohlhaas has joined #exult
[20:24:05] --> Marzo has joined #exult
[20:52:33] <-- michael-kohlhaas has left IRC (Remote host closed the connection)
[20:56:19] <Dominus> wjp, marzo, I'm having a curios problem with Exult on iOS. Changing video settings (or just applying the current video setting) triggers an SDL assert which I can ignore and it continues to work.
[20:56:36] <Dominus> The assert is SDL2/src/render/SDL_render.c:2038
[20:57:00] <Dominus> that's CHECK_TEXTURE_MAGIC(texture, ); which is actually in line 42 #define CHECK_TEXTURE_MAGIC(texture, retval
[20:57:13] <Dominus> the Xcode backtrace is:
[20:57:21] <Dominus> 1. https://github.com/litchie/exult-ios/blob/master/imagewin/imagewin.cc#L671: SDL_DestroyTexture(screen_texture);
[20:57:21] <Dominus> 2. https://github.com/litchie/exult-ios/blob/master/imagewin/imagewin.cc#L820: if (has16 && has32 && create_scale_surfaces(w, h, 0))
[20:57:28] <Dominus> 3. https://github.com/litchie/exult-ios/blob/master/imagewin/imagewin.cc#L564: if (try_scaler(w, h) == false) {
[20:57:34] <Dominus> 4. https://github.com/litchie/exult-ios/blob/master/imagewin/imagewin.cc#L890: create_surface(neww, newh); // Create new one.
[20:57:42] <Dominus> 5. https://github.com/litchie/exult-ios/blob/master/gamewin.cc#L970: win->resized(neww, newh, newfs, newgw, newgh, newsc, newsclr, newfill, newfillsclr);
[20:57:49] <Dominus> 6. and following are handling of the videooptions gump
[20:58:43] <Dominus> the only change I did to imagewin for iOS is https://github.com/litchie/exult-ios/blob/master/imagewin/imagewin.cc#L385
[20:59:30] <Dominus> which is for getting the landscape res only, the assert triggers with or without this
[21:05:28] <Dominus> do you have any idea why I'm running into this? And why it doesn't trigger on other OS
[21:17:13] <wjp> are there any errors "Couldn't create texture" in the log? (Is there a log?)
[21:17:43] <Dominus> yes, there is a log but nothing like that
[21:19:05] <Dominus> wjp: https://pastebin.com/iFB8iDKZ
[21:25:12] <Dominus> wjp: if I click on the points of the backtrace, I can get more information like this https://pastebin.com/hGvikNv5
[21:29:00] <Dominus> wjp: there is an invalid texture at the #0 backtrace https://pastebin.com/5NaJCjRN
[21:43:16] <-- Marzo has left IRC (Ping timeout: 240 seconds)
[22:34:04] <wjp> it suggests something maybe corrupted the texture, but hard to say
[22:41:50] <-- tsoliman has left IRC (Changing host)
[22:41:51] --> tsoliman has joined #exult
[23:12:25] <Dominus> Really odd that this happens on ios