forked from bartvdbraak/blender
Fix #31273: videotexture ImageRender not working in blenderplayer.
This commit is contained in:
parent
13e97f86d0
commit
885c4a6e78
@ -88,6 +88,12 @@ void GPC_Canvas::Resize(int width, int height)
|
||||
{
|
||||
m_width = width;
|
||||
m_height = height;
|
||||
|
||||
// initialize area so that it's available for game logic on frame 1 (ImageViewport)
|
||||
m_displayarea.m_x1 = 0;
|
||||
m_displayarea.m_y1 = 0;
|
||||
m_displayarea.m_x2 = width;
|
||||
m_displayarea.m_y2 = height;
|
||||
}
|
||||
|
||||
void GPC_Canvas::EndFrame()
|
||||
|
Loading…
Reference in New Issue
Block a user