Search found 1 match

by wuuyi123
Mon Dec 03, 2018 12:00 pm
Forum: General
Topic: How to draw image/graphic form memory buffer?
Replies: 1
Views: 1133

How to draw image/graphic form memory buffer?

Hi everyone, I'm into CEF (Chromium Embedded Framework) and using offscreen rendering. I remember SDL2 has function draw image from memory buffer, but I couldn't find that in Love2D. Please help me! For example: img = LoadImage('abc.png') buffer = img:toBitmap() love.drawImage(buffer, img.width, img...