就是这两套顶点坐标和纹理坐标,请高手帮忙看看。
#if 0
// Galaxy Nexus 4.2.2
static GLfloat squareVertices[] = {
-1.0f, -1.0f,
1.0f, -1.0f,
-1.0f, 1.0f,
1.0f, 1.0f,
};
static GLfloat coordVertices[] = {
0.0f, 1.0f,
1.0f, 1.0f,
0.0f, 0.0f,
1.0f, 0.0f,
};
#else
// HUAWEIG510-0010 4.1.1
static GLfloat squareVertices[] = {
0.0f, 0.0f,
1.0f, 0.0f,
0.0f, 1.0f,
1.0f, 1.0f,
};
static GLfloat coordVertices[] = {
-1.0f, 1.0f,
1.0f, 1.0f,
-1.0f, -1.0f,
1.0f, -1.0f,
};
#endif
#if 0
// Galaxy Nexus 4.2.2
static GLfloat squareVertices[] = {
-1.0f, -1.0f,
1.0f, -1.0f,
-1.0f, 1.0f,
1.0f, 1.0f,
};
static GLfloat coordVertices[] = {
0.0f, 1.0f,
1.0f, 1.0f,
0.0f, 0.0f,
1.0f, 0.0f,
};
#else
// HUAWEIG510-0010 4.1.1
static GLfloat squareVertices[] = {
0.0f, 0.0f,
1.0f, 0.0f,
0.0f, 1.0f,
1.0f, 1.0f,
};
static GLfloat coordVertices[] = {
-1.0f, 1.0f,
1.0f, 1.0f,
-1.0f, -1.0f,
1.0f, -1.0f,
};
#endif
解决方案 »
- android mms 更新时间格式(在setting中设置完时间格式的显示:mm/dd/yyy),短信或者mms中:信息的显示日期格式的更新机制是怎样的?
- [请教]操作系统通过什么策略选择interface连网?
- android中bitmap这个类继承的Original_Bitmap
- 怎么读取字符串的每一行?
- 紧急求助关于andriod SDK安装问题!
- android 图片加载
- android 系统下,如何启动一个应用程序?
- Android 修改任何地方红色字段都会报错
- 默认壁纸的问题
- 关于Android图片滤镜问题
- android关机闹钟怎样启动的
- Andoid GPS 如何进入省电模式 M
4.2.2的我没试过,但是之前的,用第一套坐标,我这里基本上的手机都是显示正常的