Use MSAA in testbed application
This commit is contained in:
parent
45270f57a7
commit
c9ad132973
|
@ -53,12 +53,12 @@ const float TestbedApplication::SCROLL_SENSITIVITY = 0.08f;
|
|||
|
||||
// Constructor
|
||||
TestbedApplication::TestbedApplication(bool isFullscreen)
|
||||
: Screen(Vector2i(1280, 800), "Testbed ReactPhysics3D", true, isFullscreen),
|
||||
: Screen(Vector2i(1280, 800), "Testbed ReactPhysics3D", true, isFullscreen, 8, 8, 24, 8, 8),
|
||||
mIsInitialized(false), mGui(this), mCurrentScene(nullptr),
|
||||
mEngineSettings(EngineSettings::defaultSettings()),
|
||||
mFPS(0), mNbFrames(0), mPreviousTime(0),
|
||||
mLastTimeComputedFPS(0), mFrameTime(0), mPhysicsTime(0),
|
||||
mIsMultisamplingActive(true), mWidth(1280), mHeight(720),
|
||||
mWidth(1280), mHeight(720),
|
||||
mSinglePhysicsStepEnabled(false), mSinglePhysicsStepDone(false),
|
||||
mWindowToFramebufferRatio(Vector2(1, 1)), mIsShadowMappingEnabled(true),
|
||||
mIsContactPointsDisplayed(false), mIsAABBsDisplayed(false), mIsWireframeEnabled(false),
|
||||
|
|
|
@ -86,9 +86,6 @@ class TestbedApplication : public Screen {
|
|||
/// Physics update time (in seconds)
|
||||
double mPhysicsTime;
|
||||
|
||||
/// True if multisampling is active
|
||||
bool mIsMultisamplingActive;
|
||||
|
||||
/// Width and height of the window
|
||||
int mWidth, mHeight;
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user