mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-11-15 02:11:22 +00:00
Fetch ResourceId even for handle == 0
* This happens in two cases - the legal one for FBO 0 (the window's backbuffer) - and the compatibility one for VAO 0.
This commit is contained in:
1 file changed
+1
-1
@@ -57,7 +57,7 @@ void DoSerialise(SerialiserType &ser, GLResource &el)
|
||||
|
||||
ResourceId id;
|
||||
|
||||
if(ser.IsWriting() && rm && el.name)
|
||||
if(ser.IsWriting() && rm)
|
||||
id = rm->GetID(el);
|
||||
|
||||
DoSerialise(ser, id);
|
||||
|
||||
Reference in new issue
Block a user