需要带有 FBO 扩展的 OpenGL 2.0 或更高版本 - LibGDX 错误

OpenGL 2.0 or higher with the FBO extension is required- LibGDX Error(需要带有 FBO 扩展的 OpenGL 2.0 或更高版本 - LibGDX 错误)
本文介绍了需要带有 FBO 扩展的 OpenGL 2.0 或更高版本 - LibGDX 错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

问题描述

我从一个月前开始使用 LibGDX &它工作得很好!但是昨天,在更新到 Java 8 后,我运行了两个以前可以工作的桌面项目,它显示了这个错误:

I start using LibGDX from a month ago & It was working perfectly! But yesterday, after updating to Java 8, I ran two desktop projects that used to work , it showed me this error:

视频驱动程序不支持OpenGL

OpenGL is not supported by the video driver

我在网上搜索过我发现有人发布了这段代码:

I searched online & I found someone post this code:

    System.setProperty("org.lwjgl.opengl.Display.allowSoftwareOpenGL", "true");

嗯,它适用于其中一个项目,僵尸鸟我正在学习的教程,但在另一个项目中显示:

Well, it works with one of the project, zombie bird tutorial that I was studying , but with the other project It shows:

需要带有 FBO 扩展的 OpenGL 2.0 或更高版本.OpenGL版本:1.1.0微软公司GDI 通用1.1.0

OpenGL 2.0 or higher with the FBO extension is required. OpenGL version: 1.1.0 Microsoft Corporation GDI Generic 1.1.0

P.S:我的设备 OpenGL 版本是:3.1,英特尔核芯显卡 3000 ,LibGDX 版本:1.6.5,&我正在使用 Eclipse Juno.

P.S: My device OpenGl version is: 3.1, Intel HD Graphics 3000 , LibGDX Release: 1.6.5 , & I'm using Eclipse Juno.

推荐答案

好吧,我没能找到真正的解决方案,但只要这个问题是由于您的 Windows GDI 造成的,它只会继续存在你的电脑不是其他电脑的!因此,作为一种解决方案,您可以继续在您的 android 设备或模拟器上进行测试!您将在您的 android 项目中获得相同的结果.

Well, I wasn't able to find a real solution for the problem but as long as this issue is because of your Windows GDI, it will remain only on your PC not the other pc's! So, as a solution, you can keep testing on your android device or your emulator! You'll have the same result on your android project.

更新:

找到真正的解决方案!您只需要卸载 Java 8 &重新安装Java 7!似乎 Java 8 不支持或单独使用 Libgdx:p

Find the real solution! You only need to uninstall Java 8 & re-install Java 7! Seems that Java 8 doesn't support or get alone with Libgdx :p

这篇关于需要带有 FBO 扩展的 OpenGL 2.0 或更高版本 - LibGDX 错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

本站部分内容来源互联网,如果有图片或者内容侵犯了您的权益,请联系我们,我们会在确认后第一时间进行删除!

相关文档推荐

How to send data to COM PORT using JAVA?(如何使用 JAVA 向 COM PORT 发送数据?)
How to make a report page direction to change to quot;rtlquot;?(如何使报表页面方向更改为“rtl?)
Use cyrillic .properties file in eclipse project(在 Eclipse 项目中使用西里尔文 .properties 文件)
Is there any way to detect an RTL language in Java?(有没有办法在 Java 中检测 RTL 语言?)
How to load resource bundle messages from DB in Java?(如何在 Java 中从 DB 加载资源包消息?)
How do I change the default locale settings in Java to make them consistent?(如何更改 Java 中的默认语言环境设置以使其保持一致?)