Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Andrew Bauer
VTK
Commits
8f6cd006
Commit
8f6cd006
authored
Jul 27, 1995
by
Ken Martin
Browse files
fixed get/set pixel data bug
parent
0e935555
Changes
1
Show whitespace changes
Inline
Side-by-side
src/SbrRenW.cc
View file @
8f6cd006
...
@@ -1059,8 +1059,8 @@ int front)
...
@@ -1059,8 +1059,8 @@ int front)
/* now read the binary info one row at a time */
/* now read the binary info one row at a time */
p_data
=
data
;
p_data
=
data
;
for
(
yloop
=
(
this
->
Size
[
1
]
-
y_
hi
-
1
);
for
(
yloop
=
(
this
->
Size
[
1
]
-
y_
low
-
1
);
yloop
<
=
(
this
->
Size
[
1
]
-
y_
low
-
1
);
yloop
++
)
yloop
>
=
(
this
->
Size
[
1
]
-
y_
hi
-
1
);
yloop
--
)
{
{
if
(
this
->
NumPlanes
==
24
)
if
(
this
->
NumPlanes
==
24
)
{
{
...
@@ -1236,8 +1236,8 @@ void vtkSbrRenderWindow::SetPixelData(int x1, int y1, int x2, int y2,
...
@@ -1236,8 +1236,8 @@ void vtkSbrRenderWindow::SetPixelData(int x1, int y1, int x2, int y2,
/* now write the binary info one row at a time */
/* now write the binary info one row at a time */
p_data
=
data
;
p_data
=
data
;
for
(
yloop
=
(
this
->
Size
[
1
]
-
y_
hi
-
1
);
for
(
yloop
=
(
this
->
Size
[
1
]
-
y_
low
-
1
);
yloop
<
=
(
this
->
Size
[
1
]
-
y_
low
-
1
);
yloop
++
)
yloop
>
=
(
this
->
Size
[
1
]
-
y_
hi
-
1
);
yloop
--
)
{
{
if
(
this
->
NumPlanes
==
24
)
if
(
this
->
NumPlanes
==
24
)
{
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment