纹理GLES1 dissapear在某些设备上 [英] Textures dissapear in GLES1 on some devices

查看:321
本文介绍了纹理GLES1 dissapear在某些设备上的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我开发上Andengine GLES1游戏。我用8 BitmapTextureAtlases 1024×1024。
在大多数设备上,一切工作正常。但是,在某些设备(上HTC渴望S和LG P540)
在游戏过程中一些纹理消失,一些纹理闪烁。为什么会这样?如何解决?有什么想法?先谢谢了。

I am developing a game on Andengine GLES1. I use 8 BitmapTextureAtlases 1024x1024. On most devices, everything works fine. But on some devices (on HTC desire S and LG P540) some textures disappear during a game, some textures flicker. Why this happened and how is it to fix?Have any ideas? Thanks in advance.

推荐答案

在创建引擎,尝试调整选项是这样的:

When you create the Engine, try tweaking the options like this:

engineOptions.getRenderOptions().disableExtensionVertexBufferObjects();
engine = new Engine(engineOptions);

我有同样的问题(在执行过程中的纹理消失),这解决了它。

I had the same problem (textures disappeared during execution) and this solved it.

这篇关于纹理GLES1 dissapear在某些设备上的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆