System Information
Operating system: Linux-5.4.43-x86_64-Intel-R-_Core-TM-_i7-7500U_CPU_@_2.70GHz-with-slackware-14.2 64 Bits
Graphics card: Mesa Intel(R) HD Graphics 620 (KBL GT2) Intel 4.6 (Core Profile) Mesa 20.1.0
Blender Version
Broken: version: 2.91.0 Alpha, branch: master, commit date: 2020-09-20 05:59, hash: rBf470a02afaea
Worked: version: 2.90.0 *Release*, branch: master, commit date: 2020-08-31 11:26, hash: rB0330d1af29c0
Caused by rBc766d9b9dc56: GPUTexture: GL Backend Isolation
Short description of error
When drawing images with the Python gpu module, the first image rendering command may produce a black image.
Exact steps for others to reproduce the error
See the attached .blend file.
- if line 32 is commented, the error occurs
- if line 32 is active (something is drawn beforehand), the error does not occur
Probably related: T80730: BGL deprecation

