Common OpenGL texture size limit is around 16384 now

This commit is contained in:
Inori 2019-09-14 01:56:04 -04:00
parent 5e8d1c7090
commit a136e782c0

View file

@ -221,7 +221,7 @@ If a requested font is not found, no error is generated. Instead, a built-in fon
* `FileSystem::openRead` is not compatible with absolute paths in Windows (this affects `Bitmap.new` or `Audio.bgm_play`, for instance).
* Movie playback
* wma audio files
* Creating Bitmaps with sizes greater than the OpenGL texture size limit (around 8192 on modern cards)^
* Creating Bitmaps with sizes greater than the OpenGL texture size limit (around 16384 on modern cards)^
^ There is an exception to this, called *mega surface*. When a Bitmap bigger than the texture limit is created from a file, it is not stored in VRAM, but regular RAM. Its sole purpose is to be used as a tileset bitmap. Any other operation to it (besides blitting to a regular Bitmap) will result in an error.