Skip to content

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

Description

@buxx

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 ?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions