• J
    Use only one widget for preview · e8044d08
    jp9000 提交于
    Modify the obs_display API so that it always uses an orthographic
    projection that is the size of the display, rather than OBS' base size.
    Having it do an orthographic projection to OBS' base size was silly
    because it meant that everything would be skewed if you wanted to draw
    1:1 in the display.  This deoes mean that the callbacks must handle
    resizing the images, but it's worth it to ensure 1:1 draw sizes.
    
    As for the preview widget, instead of making some funky widget within
    widget that resizes, it's just going to be a widget within the entire
    top layout.  Also changed the preview padding color to gray.
    e8044d08
window-basic-main.hpp 3.9 KB