JuliaMultimedia / SimpleDirectMediaLayer.jl

SDL2
MIT License
81 stars 18 forks source link

Fix Clang-generated enum type: BlendMode UInt32 #8

Closed NHDaly closed 6 years ago

NHDaly commented 6 years ago

Clang turned the type-name of the enum into Void, but it should be the enum's base-type instead.

This prevents calling any method that takes the enum as its input, in my case it's SDL2.SetRenderDrawBlendMode(renderer, UInt32(SDL2.BLENDMODE_BLEND)) (here).