[GRIM] Fix subtitle alignment for OpenGL with shaders #3354
This is a quick attempt at trying to fix the broken positioning of text in Grim when using the OpenGL shader renderer.
@eriktorbjorn noted that this may stem from the OpenGL (with shaders)-renderer lacking a proper implementation of getScreenBoundingBox, so I went ahead and adapted one.
This was done by comparing the getScreenBoundingBox implementations for EFMI/Grim in the OpenGL-renderer, and noticing that those were only different in how they got at their data, as there was already an implementation for EFMI in the shader-renderer, I copy pasted that code, and adapted the differences I found when comparing the OpenGL-implementation, which seems to improve things.
The text was updated successfully, but these errors were encountered:
Just copy-pasted the contents of the Escape from Monkey Island code below, and made adjustments based on the diff between the two functions as they are in the regular OpenGL renderer.