handle WM_MOUSEWHEEL and WM_POINTERUPDATE for the Windows Ink stylus driver
This commit is contained in:
@@ -197,17 +197,15 @@ void ui::Canvas::resize(int width, int height)
|
||||
{
|
||||
m_width = width;
|
||||
m_height = height;
|
||||
// m_tmp.create(width, height);
|
||||
// m_fb.create(width, height);
|
||||
// m_tex.create(width, height);
|
||||
// m_tex2.create(width, height);
|
||||
m_tmp.create(width, height);
|
||||
m_tex.create(width, height);
|
||||
m_tex2.create(width, height);
|
||||
}
|
||||
bool ui::Canvas::create(int width, int height)
|
||||
{
|
||||
m_width = width;
|
||||
m_height = height;
|
||||
m_tmp.create(width, height);
|
||||
//m_fb.create(width, height);
|
||||
m_tex.create(width, height);
|
||||
m_tex2.create(width, height); // TODO: destroy before recreating
|
||||
m_sampler.create();
|
||||
|
||||
Reference in New Issue
Block a user