mirror of
https://github.com/cjcliffe/CubicSDR.git
synced 2026-06-02 22:14:47 -04:00
CubicVR2: more restricted operators on structures by removing convert-to-pointer. (Fix #550 ?)
This commit is contained in:
+2
-2
@@ -308,7 +308,7 @@ void GLPanel::calcTransform(mat4 transform_in) {
|
||||
void GLPanel::draw() {
|
||||
float min = -1.0, max = 1.0;
|
||||
|
||||
glLoadMatrixf(transform);
|
||||
glLoadMatrixf(transform.to_ptr());
|
||||
|
||||
if (fillType != GLPANEL_FILL_NONE && visible) {
|
||||
glEnable(GL_BLEND);
|
||||
@@ -378,7 +378,7 @@ void GLPanel::draw() {
|
||||
}
|
||||
// if (coord == GLPANEL_Y_UP) {
|
||||
// }
|
||||
glLoadMatrixf(transform * mCoord);
|
||||
glLoadMatrixf((transform * mCoord).to_ptr());
|
||||
drawPanelContents();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user