Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
PoroCYon
Bonzomatic
Commits
03add4e0
Commit
03add4e0
authored
Jan 24, 2015
by
Gargaj
Browse files
gcc compatible code
parent
2a58ed6e
Changes
1
Hide whitespace changes
Inline
Side-by-side
platform_w32_dx9/Renderer.cpp
View file @
03add4e0
...
...
@@ -707,7 +707,7 @@ namespace Renderer
return
(
abgr
&
0xff00ff00
)
+
((
abgr
<<
16
)
&
0x00ff0000
)
+
((
abgr
>>
16
)
&
0x000000ff
);
}
Texture
*
lastTexture
=
NULL
;
void
__WriteVertexToBuffer
(
Vertex
&
v
)
void
__WriteVertexToBuffer
(
const
Vertex
&
v
)
{
if
(
bufferPointer
>=
GUIQUADVB_SIZE
)
{
...
...
@@ -733,7 +733,7 @@ namespace Renderer
}
}
void
RenderQuad
(
Vertex
&
a
,
Vertex
&
b
,
Vertex
&
c
,
Vertex
&
d
)
void
RenderQuad
(
const
Vertex
&
a
,
const
Vertex
&
b
,
const
Vertex
&
c
,
const
Vertex
&
d
)
{
if
(
!
lastModeIsQuad
)
{
...
...
@@ -748,7 +748,7 @@ namespace Renderer
__WriteVertexToBuffer
(
c
);
}
void
RenderLine
(
Vertex
&
a
,
Vertex
&
b
)
void
RenderLine
(
const
Vertex
&
a
,
const
Vertex
&
b
)
{
if
(
lastModeIsQuad
)
{
...
...
Write
Preview
Markdown
is supported
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