Open Bagi763 opened 1 month ago
What version of windows are you using?
What version of windows are you using?
Windows 8.1, and I confirmed that I'm using opengl 2.1
Go itself no longer supports Windows 8.1. https://go.dev/wiki/Windows
Installing DirectX 11 might solve the issue.
i installed directx 11 and didn't work i'm going to try to install directx 12 and see if works
i couldn't find to install directx 12, so here is the screenshots
Could you try this command?
go run github.com/hajimehoshi/ebiten/v2/examples/windowsize@latest -graphicslibrary=directx
worked, thanks
just another question, every time i will run my game i will need to add -graphicslibrary=directx
at the end, or there is some way of doing that automatically??
Thanks!
just another question, every time i will run my game i will need to add -graphicslibrary=directx at the end, or there is some way of doing that automatically??
Well, so the problem is, Ebitengine misunderstood that OpenGL was available in your machine but the actual it was not. I'll try to fix it by checking the OpenGL availability in a more strict way.
ok thanks
I found this required a lot of refactoring in order to fix the issue correctly... (Related: #2714)
Until I can fix this issue, could you set an environment variable EBITENGINE_GRAPHICS_DRIVER
to directx
, so that every Ebitengine game would work with DirectX by default? I'm sorry for inconvenience. See https://docs.google.com/document/d/1djz7cUKPP2UTtyQD-aBb5836wPkqBDSOZYPhgCtJHRU/edit?usp=sharing (In this document, opengl
is set to use OpenGL, but of course set directx
in your case.)
worked by default now i very grateful for you responding to me, thanks
Ebitengine Version
lastest probabk=ly
Operating System
Go Version (
go version
)1.23.1
What steps will reproduce the problem?
running the command to confirm my enviroment
What is the expected result?
What happens instead?
Anything else you feel useful to add?
maybe my pc is just bad and old, i know it doesn't run the lastest version of opengl (opengl 4.0, idk my version but is probably 2 or 3), maybe is that the problem, but there isn't a way to make it run on a older version of webgl??