diff options
author | karoly <karoly@3ad0048d-3df7-0310-abae-a5850022a9f2> | 2020-11-25 04:54:57 +0000 |
---|---|---|
committer | karoly <karoly@3ad0048d-3df7-0310-abae-a5850022a9f2> | 2020-11-25 04:54:57 +0000 |
commit | 3f4b4b04ed9f6f4b0a279c784a251465f9090f28 (patch) | |
tree | bb94a5d8c41244cfb8f92eb154481c85b36faffe /packages/qlunits | |
parent | dede7ca7bdb82a646315ba030b9e94493571e971 (diff) | |
download | fpc-3f4b4b04ed9f6f4b0a279c784a251465f9090f28.tar.gz |
qlunits: make qlcube example still build with the current RTL
git-svn-id: https://svn.freepascal.org/svn/fpc/trunk@47571 3ad0048d-3df7-0310-abae-a5850022a9f2
Diffstat (limited to 'packages/qlunits')
-rw-r--r-- | packages/qlunits/examples/qlcube.pas | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/packages/qlunits/examples/qlcube.pas b/packages/qlunits/examples/qlcube.pas index caacb5ccac..21afe014b7 100644 --- a/packages/qlunits/examples/qlcube.pas +++ b/packages/qlunits/examples/qlcube.pas @@ -154,7 +154,7 @@ end; procedure draw_line(x1,y1,x2,y2: smallint); begin - sd_line(QCON,-1,x1,y1,x2,y2); + sd_line(stdOutputHandle,-1,x1,y1,x2,y2); end; procedure cube_redraw; @@ -182,14 +182,14 @@ begin longint_to_qlfp(@fcubey[i],cy + sarlongint(mulfp(vy,scale),16)); end; - sd_clear(QCON,-1); + sd_clear(stdOutputHandle,-1); for i:=0 to 3 do begin e:=(i+1) and 3; - sd_line(QCON,-1,@fcubex[i],@fcubey[i],@fcubex[e],@fcubey[e]); + sd_line(stdOutputHandle,-1,@fcubex[i],@fcubey[i],@fcubex[e],@fcubey[e]); s:=i+4; e:=e+4; - sd_line(QCON,-1,@fcubex[s],@fcubey[s],@fcubex[e],@fcubey[e]); - sd_line(QCON,-1,@fcubex[i],@fcubey[i],@fcubex[s],@fcubey[s]); + sd_line(stdOutputHandle,-1,@fcubex[s],@fcubey[s],@fcubex[e],@fcubey[e]); + sd_line(stdOutputHandle,-1,@fcubex[i],@fcubey[i],@fcubex[s],@fcubey[s]); end; end; |