mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-08-26 08:26:50 +00:00
Update rdctype::array to have a more stl-like mutable interface
* For the most part the interface is stl-compatible, but we have a few little changes of our own for convenience. * This class is still needed after deleting the C# UI, because we don't want to pass C++ stl structs over module boundaries and possibly run into hard to diagnose incompatibilities.
This commit is contained in:
@@ -269,7 +269,7 @@ void DisplayRendererPreview(IReplayController *renderer, TextureDisplay &display
|
||||
|
||||
bool xcb = false, xlib = false;
|
||||
|
||||
for(int32_t i = 0; i < systems.count; i++)
|
||||
for(size_t i = 0; i < systems.size(); i++)
|
||||
{
|
||||
if(systems[i] == WindowingSystem::Xlib)
|
||||
xlib = true;
|
||||
@@ -300,7 +300,7 @@ void DisplayRendererPreview(IReplayController *renderer, TextureDisplay &display
|
||||
{
|
||||
std::cerr << "Neither XCB nor XLib are supported, can't create window." << std::endl;
|
||||
std::cerr << "Supported systems: ";
|
||||
for(int32_t i = 0; i < systems.count; i++)
|
||||
for(size_t i = 0; i < systems.size(); i++)
|
||||
std::cerr << (uint32_t)systems[i] << std::endl;
|
||||
std::cerr << std::endl;
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user