git-svn-id: svn://db.shs.com.ru/libs@656 a8b55f48-bf90-11e4-a774-851b48703e85
This commit is contained in:
@@ -46,9 +46,12 @@ void RendererSelection::init(int width, int height) {
|
||||
|
||||
|
||||
void RendererSelection::resize(int width, int height) {
|
||||
fbo_selection.enablePixelBuffer();
|
||||
fbo_selection.resize(width*scale_, height*scale_);
|
||||
line_thick_ = lineThickness() + 1.;
|
||||
scale_ = 0.5 / appScale();
|
||||
fbo_selection.enablePixelBuffer();
|
||||
fbo_selection.resize(width * scale_, height * scale_);
|
||||
//fbo_selection.setColorTextureFiltering(sbrSrcHover , GL_LINEAR);
|
||||
//fbo_selection.setColorTextureFiltering(sbrSrcSelect, GL_LINEAR);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user