From d089c561bde805ce89b4436a957db215462891be Mon Sep 17 00:00:00 2001 From: abd Date: Wed, 23 Nov 2005 11:39:21 +0000 Subject: [PATCH] Support real type of picture size --- src/GLViewer/GLViewer_Drawer.cxx | 4 ++-- src/GLViewer/GLViewer_Drawer.h | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/GLViewer/GLViewer_Drawer.cxx b/src/GLViewer/GLViewer_Drawer.cxx index 573e9f2dd..74698b90c 100644 --- a/src/GLViewer/GLViewer_Drawer.cxx +++ b/src/GLViewer/GLViewer_Drawer.cxx @@ -658,8 +658,8 @@ void GLViewer_Drawer::drawTexture( GLuint texture, GLint x_size, GLint y_size, G void GLViewer_Drawer::drawTexturePart( GLuint texture, GLfloat x_ratio, GLfloat y_ratio, - GLint x_size, - GLint y_size, + GLfloat x_size, + GLfloat y_size, GLfloat x, GLfloat y, GLfloat scale ) diff --git a/src/GLViewer/GLViewer_Drawer.h b/src/GLViewer/GLViewer_Drawer.h index 253f5dd92..56bbdbbec 100644 --- a/src/GLViewer/GLViewer_Drawer.h +++ b/src/GLViewer/GLViewer_Drawer.h @@ -302,8 +302,8 @@ public: void drawTexturePart( GLuint texture, GLfloat x_ratio, GLfloat y_ratio, - GLint x_size, - GLint y_size, + GLfloat x_size, + GLfloat y_size, GLfloat x, GLfloat y, GLfloat scale = 0 ); -- 2.39.2