Re: I need vertex buffers
Daniel Gibson <[email protected]> Fri, 27 Jan 2017 03:56:25 +0100
| Newsgroups | gmane.comp.lib.sdl |
|---|---|
| Message-ID | <[email protected]> |
Your color only has 3 components, the 4th (alpha) might be set to 0
because of this, making the line totally translucent (invisible)?
try something like SDL_Color c = {123, 255, 255, 255}; and use that in
the GPU_Line() call.
Cheers,
Daniel
>
>
> Any ideas??? It's just a black screen. I used strange coords and colors
> to make sure I was sane.
>
>
> _______________________________________________
> SDL mailing list
> [email protected]
> http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org
>