Hey! raylib forum is closing!

After a year with not much movement in the forum I decided to close it.

The cost of maintaining the hosting is a bit high for the usage of the platform, updating the forum and managing it is also a bit cumbersome and the truth is that I'm already trying to maintain multiple other networks pretty more active than this forum.

I'll recommend you to move to the other raylib networks:

- For a forum style, use Reddit: https://www.reddit.com/r/raylib/
- For direct messaging and questions, use Discord: https://discord.gg/VkzNHUE
- To report issues, use GitHub: https://github.com/raysan5/raylib

- Also, remember you can contact me personally on Twitter: https://twitter.com/raysan5 or directly by mail to ray[at]raylib.com

If you feel generous, you can also contribute to the project on my Patreon: https://www.patreon.com/raylib

Thanks to you all for joining the project and help to improve it with your questions. Keep it up! :)

Best Regards,


PD. Closing will be effective by October 31th.

Drawing over an existing texture

I have come across a need to make small incremental changes to a texture for piloting data in real time. What i want to do is draw a line on a existing texture without clearing the entire texture.

So far the only way i see of doing it is to draw the existing texture in to another texture, then draw that texture in to the original one and draw a line on top. The other way i see of doing it is to keep it as a image in CPU memory and do all the drawing on that while occasionally updating the image to GPU memory.

Is there a easier or more optimized way of doing that?


  • Hi Berni, I don't understand completely your problem... It shouldn't be a problem to just draw the texture and the info/lines over the texture in the usual way.

    One possible solution, use a RenderTexture2D to draw to texture first and then draw that texture to screen. That's the fastest solution.

    You can also use Image*() functions to work with CPU images but this approach is way slower than the texture route.

    If you send me a sample with an example of what you want to accomplish I can take a look.
Sign In or Register to comment.