Skip to content

Commit bb28f69

Browse files
authored
Update GLES2.cpp (#927)
If you start mixing 64 bits for COMRPC on a 32 bits platform, and the signature on IRendere, is Identifier, you get a compilation issue :-)
1 parent d955e36 commit bb28f69

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Compositor/lib/Mesa/renderer/src/GL/GLES2.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1359,11 +1359,11 @@ namespace Compositor {
13591359

13601360
} // namespace Renderer
13611361

1362-
Core::ProxyType<IRenderer> IRenderer::Instance(Core::instance_id identifier)
1362+
Core::ProxyType<IRenderer> IRenderer::Instance(Identifier identifier)
13631363
{
13641364
ASSERT(int(identifier) >= 0); // this should be a valid file descriptor.
13651365

1366-
static Core::ProxyMapType<Core::instance_id, IRenderer> glRenderers;
1366+
static Core::ProxyMapType<Identifier, IRenderer> glRenderers;
13671367

13681368
return glRenderers.Instance<Renderer::GLES>(identifier, static_cast<int>(identifier));
13691369
}

0 commit comments

Comments
 (0)