aalineRGBA?
Opened this issue · 1 comments
mpeters2 commented
Maybe I'm doing something wrong, but I get this:
UndefVarError: `aalineRGBA` not defined
using SimpleDirectMediaLayer
using SimpleDirectMediaLayer.LibSDL2
...
SDL_SetRenderDrawColor(myWin.renderer, 255,255,255,255)
SDL_RenderDrawLine(myWin.renderer, 1500, 10, 1510, 1500 )
#------------
aalineRGBA(myWin.renderer,
convert(Int16, 1510),
convert(Int16, 10),
convert(Int16, 1520),
convert(Int16, 1500),
convert(UInt8, 255),
convert(UInt8, 255),
convert(UInt8, 255),
convert(UInt8, 255)
)
I know that myWin.renderer is kosher, as I use it throughout my code. What I'm trying to do in the above code is to compare SDL_RenderDrawLine() to aalineRGBA()'s picture quality. If I comment-out the aalineRGBA() section, it works just fine. It is only the aalineRGBA() that gives me an error.