VirtualBox

Changeset 53896 in vbox for trunk/include


Ignore:
Timestamp:
Jan 21, 2015 12:08:50 PM (10 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
97745
Message:

Host 3D: scaling: Increase scaling precision multiplier; Adjust scale-factor borders to be more free, required for scale-mode.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/VBox/VBoxOGL.h

    r53854 r53896  
    4141 * This constant can be increased (multiplied by 10^n) in order to get better precision
    4242 * for scaling factor manipulations. */
    43 #define VBOX_OGL_SCALE_FACTOR_MULTIPLIER    100.0
     43#define VBOX_OGL_SCALE_FACTOR_MULTIPLIER    10000.0
    4444
    4545/* 3D content scale factor range bounds. */
    46 #define VBOX_OGL_SCALE_FACTOR_MIN           0.5
    47 #define VBOX_OGL_SCALE_FACTOR_MAX           2.0
     46#define VBOX_OGL_SCALE_FACTOR_MIN           0.01
     47#define VBOX_OGL_SCALE_FACTOR_MAX           10.0
    4848
    4949bool RTCALL VBoxOglIsOfflineRenderingAppropriate(void);
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette