equal
deleted
inserted
replaced
129 VertexBuffer[0].X:= hx + WorldDx; |
129 VertexBuffer[0].X:= hx + WorldDx; |
130 VertexBuffer[0].Y:= hy + WorldDy; |
130 VertexBuffer[0].Y:= hy + WorldDy; |
131 VertexBuffer[1].X:= tx + WorldDx; |
131 VertexBuffer[1].X:= tx + WorldDx; |
132 VertexBuffer[1].Y:= ty + WorldDy; |
132 VertexBuffer[1].Y:= ty + WorldDy; |
133 |
133 |
134 glEnableClientState(GL_VERTEX_ARRAY); |
|
135 glVertexPointer(2, GL_FLOAT, 0, @VertexBuffer[0]); |
134 glVertexPointer(2, GL_FLOAT, 0, @VertexBuffer[0]); |
136 glDrawArrays(GL_LINES, 0, Length(VertexBuffer)); |
135 glDrawArrays(GL_LINES, 0, Length(VertexBuffer)); |
137 Tint($FF, $FF, $FF, $FF); |
136 Tint($FF, $FF, $FF, $FF); |
138 glEnable(GL_TEXTURE_2D); |
137 glEnable(GL_TEXTURE_2D); |
139 glDisable(GL_LINE_SMOOTH); |
138 glDisable(GL_LINE_SMOOTH); |