mirror of
https://github.com/love2d/love.git
synced 2026-08-15 15:51:12 +02:00
Fixed love.keyboard.setKeyRepeat, fixed issues with Body:getWhatever, and made the save directory settable.
This commit is contained in:
@@ -89,6 +89,9 @@ namespace devil
|
||||
ilBindImage(image);
|
||||
|
||||
ilTexImage(width, height, 1, bpp, IL_RGBA, IL_UNSIGNED_BYTE, 0);
|
||||
|
||||
// Set to black.
|
||||
memset((void*)ilGetData(), 0, width*height*4);
|
||||
}
|
||||
|
||||
ImageData::ImageData(int width, int height, void *data)
|
||||
|
||||
Reference in New Issue
Block a user