Re: I need vertex buffers

Jonathan Dearborn <[email protected]> Thu, 26 Jan 2017 22:23:28 -0500
Newsgroups gmane.comp.lib.sdl
Message-ID <CA+DSiHa1upqN2pTZ14xordiwN7hivE32JRBbwZtUCMSD0aTRNA@mail.gmail.com>
What numbers are you getting?

Jonny D

On Thu, Jan 26, 2017 at 10:17 PM, brianhj <[email protected]> wrote:

> If i could buy you a beer i would, i added 255 in there and it worked
> fine. Thanks buddy [image: Very Happy]
>
> Unfortunately performance with line drawing isn't any better than play ol'
> SDL [image: Sad] [image: Sad] [image: Sad] Very disappointed
>
>
>
>
> Daniel Gibson wrote:
>
> 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
>
>
>
>
> Quote:
>
>
>
> Any ideas??? It's just a black screen. I used strange coords and colors
> to make sure I was sane.
>
>
> _______________________________________________
> SDL mailing list
>
> http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org
>
>
>
>
> _______________________________________________
> SDL mailing list
>
> http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org
>
>
> _______________________________________________
> SDL mailing list
> [email protected]
> http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org
>
>

_______________________________________________
SDL mailing list
[email protected]
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org