Fix large image attachments not showing (#1043)

* fix for too large image attachments not fitting into GL texture

* Don't use context!!
This commit is contained in:
Ondřej Hruška 2019-02-16 14:31:41 +01:00 committed by Konrad Pozniak
commit fcc67c6918
4 changed files with 35 additions and 1 deletions

View file

@ -1,4 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<integer name="profile_media_column_count">3</integer>
</resources>
<!-- Images larger than this will be downscaled to avoid OpenGL errors -->
<integer name="media_max_width">1920</integer>
<integer name="media_max_height">1920</integer>
</resources>