avoid flickering (c++/opengl/sdl)

Started by
0 comments, last by Kimmi 10 years, 2 months ago

HI

my rain effect is ok but wildly flickering for drops that run down. How to avoid that? I guess I need to draw in the background? Currently I only do a simple c++ function to draw

with Opengl and load the images with sdl.

Also I would want to create some kind of rain streaks running down.

Thanks

PS: it's a X-Plane plugin...

Advertisement

Are you using bouble-buffering with OpenGL? If now: you should. You can check this in your SDL-configuration for your OpenGL-Context: just check the SDL-doc for this feature.

With best regards,

Kimmi

A complicate solution may indicate a not understood problem.


[twitter]KimKulling[/twitter]

This topic is closed to new replies.

Advertisement