Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Couldn't find any pixel format that matches the criteria on MacOs #138

Open
buxx opened this issue Aug 10, 2020 · 0 comments
Open

Couldn't find any pixel format that matches the criteria on MacOs #138

buxx opened this issue Aug 10, 2020 · 0 comments

Comments

@buxx
Copy link

buxx commented Aug 10, 2020

Hello,

I'm trying to build my project (which use coffee 0.4.1) on MacOS but i got the following error:

Error: WindowCreation("Couldn\'t find any pixel format that matches the criteria.")

I saw this issue and tried to build with vulkan:

diff --git a/Cargo.toml b/Cargo.toml
index 0ec07b7..15f8dcc 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -5,7 +5,7 @@ authors = ["Bastien Sevajol <bastien.sevajol@algoo.fr>"]
 edition = "2018"
 
 [dependencies]
-coffee = { version = "0.4.1", features = ["opengl"] }
+coffee = { version = "0.4.1", features = ["vulkan"] }
 rand = "0.6"
 pickledb = "0.4.0"
 websocket = "0.24.0"

But, following error happens on build:

VirtualBox_macOS_10_08_2020_21_53_00

What is possible to do ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant