I just got an sdl2+opengl example that I found online to work on my chinkheld. Maybe I should just give up on vulkan and make my game using opengl for now (since the chinkheld does not support vulkan (it has a libvulkan.so but doesn't actually have a vulkan driver even though its gpu is vulkan‐capable) and opengl seems easier to use). Thank you for reading my blog post.
Follow

@mikuphile Vulkan is an order of magnitude harder to use while OpenGL is fine unless you need either raytracing or hyper performance. It also works on basically anything

OpenGL triangle: 171 lines
github.com/apg360/glfw_opengl_

Vulkan triangle: 2133 lines
github.com/apg360/glfw_vulkan_

· · Web · 0 · 0 · 0
Sign in to participate in the conversation
Game Liberty Mastodon

Mainly gaming/nerd instance for people who value free speech. Everyone is welcome.