summaryrefslogtreecommitdiff
path: root/servers/visual/rasterizer_rd/rasterizer_rd.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'servers/visual/rasterizer_rd/rasterizer_rd.cpp')
-rw-r--r--servers/visual/rasterizer_rd/rasterizer_rd.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/servers/visual/rasterizer_rd/rasterizer_rd.cpp b/servers/visual/rasterizer_rd/rasterizer_rd.cpp
index 34be4817f6..de31d9b3b7 100644
--- a/servers/visual/rasterizer_rd/rasterizer_rd.cpp
+++ b/servers/visual/rasterizer_rd/rasterizer_rd.cpp
@@ -128,11 +128,11 @@ void RasterizerRD::initialize() {
}
{ //create index array for copy shader
- PoolVector<uint8_t> pv;
+ Vector<uint8_t> pv;
pv.resize(6 * 4);
{
- PoolVector<uint8_t>::Write w = pv.write();
- int *p32 = (int *)w.ptr();
+ uint8_t *w = pv.ptrw();
+ int *p32 = (int *)w;
p32[0] = 0;
p32[1] = 1;
p32[2] = 2;