Re: rendering text over video

"EStefano" <[email protected]>
Newsgroups gmane.comp.lib.sdl
Message-ID <[email protected]>
Indeed. This solved the blinking


Code:


        ...

        // render video
        SDL_RenderCopy(renderer, video, NULL, &video_rect);
 
        if (display_info)
        {
           // render text
           SDL_RenderCopy(renderer, text, NULL, &text_rect);
       }

       SDL_RenderPresent(renderer); 




Thanks Rang

_______________________________________________
SDL mailing list
[email protected]
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.