Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Laszlo Agocs
qtrhi
Commits
be2cb97c
Commit
be2cb97c
authored
Mar 10, 2019
by
Laszlo Agocs
Browse files
Remove duplicate semicolons
parent
add7e8e8
Changes
3
Hide whitespace changes
Inline
Side-by-side
src/rhi/qrhid3d11.cpp
View file @
be2cb97c
...
...
@@ -901,7 +901,7 @@ QRhi::FrameOpResult QRhiD3D11::endOffscreenFrame()
lock
.
unlock
();
finishActiveReadbacks
();
return
QRhi
::
FrameOpSuccess
;
;
return
QRhi
::
FrameOpSuccess
;
}
static
inline
DXGI_FORMAT
toD3DTextureFormat
(
QRhiTexture
::
Format
format
,
QRhiTexture
::
Flags
flags
)
...
...
@@ -1830,7 +1830,7 @@ static inline uint toD3DBufferUsage(QRhiBuffer::UsageFlags usage)
{
int
u
=
0
;
if
(
usage
.
testFlag
(
QRhiBuffer
::
VertexBuffer
))
u
|=
D3D11_BIND_VERTEX_BUFFER
;
;
u
|=
D3D11_BIND_VERTEX_BUFFER
;
if
(
usage
.
testFlag
(
QRhiBuffer
::
IndexBuffer
))
u
|=
D3D11_BIND_INDEX_BUFFER
;
if
(
usage
.
testFlag
(
QRhiBuffer
::
UniformBuffer
))
...
...
@@ -2157,7 +2157,7 @@ bool QD3D11Texture::build()
desc
.
Width
=
size
.
width
();
desc
.
Height
=
size
.
height
();
desc
.
MipLevels
=
mipLevelCount
;
desc
.
ArraySize
=
isCube
?
6
:
1
;
;
desc
.
ArraySize
=
isCube
?
6
:
1
;
desc
.
Format
=
dxgiFormat
;
desc
.
SampleDesc
=
sampleDesc
;
desc
.
Usage
=
D3D11_USAGE_DEFAULT
;
...
...
src/rhi/qrhigles2.cpp
View file @
be2cb97c
...
...
@@ -937,7 +937,7 @@ QRhi::FrameOpResult QRhiGles2::endOffscreenFrame()
executeCommandBuffer
(
&
ofr
.
cbWrapper
);
return
QRhi
::
FrameOpSuccess
;
;
return
QRhi
::
FrameOpSuccess
;
}
QRhi
::
FrameOpResult
QRhiGles2
::
finish
()
...
...
src/rhi/qrhinull.cpp
View file @
be2cb97c
...
...
@@ -300,7 +300,7 @@ QRhi::FrameOpResult QRhiNull::beginOffscreenFrame(QRhiCommandBuffer **cb)
QRhi
::
FrameOpResult
QRhiNull
::
endOffscreenFrame
()
{
return
QRhi
::
FrameOpSuccess
;
;
return
QRhi
::
FrameOpSuccess
;
}
QRhi
::
FrameOpResult
QRhiNull
::
finish
()
...
...
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