Welcome, Guest. Please login or register. Did you miss your activation email?

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - dozy_c

Pages: [1]
1
General discussions / Anti-aliasing not working
« on: March 11, 2011, 11:00:12 am »
Thanks, this is just what i was looking for!

One problem though. I can't get anti-aliasing working when using the widget. Anti aliasing works when i create a basic RenderWindow app without using the widget or mixing with gtkmm. So, at least i know it does work. I just can't get it to work with the widget.

I'm using linux, so i had to change one line:
this->sf::RenderWindow::Create(reinterpret_cast<HWND>(GDK_WINDOW_HWND(m_refGdkWindow->gobj())));
changed to
this->sf::RenderWindow::Create(GDK_WINDOW_XWINDOW(m_refGdkWindow->gobj()));

I tried adding the anti-aliasing parameters to the RenderWindow initializer in the widget's constructor, but it didn't help.

I tried adding the anti-aliasing parameters to the RenderWindow::Create line shown above, but that didn't help either.

Have you run into this problem? Any ideas on how to resolve it?

Thanks for your time, and for your widget!! :)

Pages: [1]