Rice-Video icon indicating copy to clipboard operation
Rice-Video copied to clipboard

UpdateSurface returns an error

Open LegendOfDragoon opened this issue 8 years ago • 0 comments

An example of where an error occurs is here https://github.com/death-droid/Rice-Video/blob/master/Device/FrameBufferDX.cpp#L45

I don't think that function works for copying backbuffer. Afaik, that function is meant for transfering system RAM to VRAM. You could probably use LoadSurfacefromSurface or GetREnderTargetData instead.

LegendOfDragoon avatar Jan 04 '17 07:01 LegendOfDragoon