Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

AppGameKit Classic Chat / gl_framebuffer_unsupported ?

Author
Message
XANAX 2B
20
Years of Service
User Offline
Joined: 20th Jun 2003
Location: Corsica (France)
Posted: 18th Jun 2017 09:50 Edited at: 18th Jun 2017 14:04
Hello

I've added multiples RenderImages in my program.

Now, when i run it on ipad/AGK player, i get this message : gl_framebuffer_unsupported, and after, it seems to work.
(It works perfectly on windows 10)

Any idea ?

EDIT: Working also on Android. It seems to be an iPad problem. (or with the AppGameKit Player for iPad)
My Freewares here : http://www.retro-bruno.com
Preben
AGK Studio Developer
19
Years of Service
User Offline
Joined: 30th Jun 2004
Location:
Posted: 18th Jun 2017 16:47 Edited at: 18th Jun 2017 16:48
Not sure what your using it for but try to make sure its a power of two, or post some test code

And on iPad the minimum is 16 pixel , so 1024x8 will fails but 1024x16 is ok ,8x64 will fail but 16x64 is ok.

Other then that there should not be any differences from Android
best regards Preben Eriksen,
XANAX 2B
20
Years of Service
User Offline
Joined: 20th Jun 2003
Location: Corsica (France)
Posted: 19th Jun 2017 07:11 Edited at: 19th Jun 2017 07:15
Thanks for your help, Preben.

This is some code :


May be the problem is here. This fonction draw inside the render images. But i don't know if the virtual resolution can be set to 16x16 or 2048x2048 ?


EDIT: If i don't call the LAG_Set_i_Texture function, i dont get the GL error message.
My Freewares here : http://www.retro-bruno.com
Preben
AGK Studio Developer
19
Years of Service
User Offline
Joined: 30th Jun 2004
Location:
Posted: 19th Jun 2017 10:43
XANAX:
This code will create a consistence look and with no errors on Mac/iPad2/iPad Air.


SetVirtualResolution , need to go before SetRenderToImage or iPad2 will display it wrong.

Your sprite need to be created like this or GetSpriteImageID will not work:
spriteimg = LoadImage("icon.png")
mysprite = CreateSprite(spriteimg) // AppGameKit createsprite must return the ID or it will not work.

I did not get any "gl_framebuffer_unsupported" on any of the devices , how many CreateRenderImage are you using ?

Hope it helps

best regards Preben Eriksen,

Attachments

Login to view attachments
XANAX 2B
20
Years of Service
User Offline
Joined: 20th Jun 2003
Location: Corsica (France)
Posted: 23rd Jun 2017 18:56
I used a lot of CreateRenderImage... That was one of the problems.
I've solved it by no more using RenderImages.
My Freewares here : http://www.retro-bruno.com

Login to post a reply

Server time is: 2024-04-24 19:30:52
Your offset time is: 2024-04-24 19:30:52