X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=KernelLand%2FModules%2FInterfaces%2FUDI%2Ftrans%2Fgfx.udic;h=796228a1d71e2d3e1d5aa9bf9e99f6c1b36e4924;hb=5f8480455a9e2172b15dfc7fb96480a68506c30d;hp=48fe9a18b345d5fa0f932f6435fd6dd9d0694e51;hpb=4e407e69bd660e9a32644281733192193ee6e8c8;p=tpg%2Facess2.git diff --git a/KernelLand/Modules/Interfaces/UDI/trans/gfx.udic b/KernelLand/Modules/Interfaces/UDI/trans/gfx.udic index 48fe9a18..796228a1 100644 --- a/KernelLand/Modules/Interfaces/UDI/trans/gfx.udic +++ b/KernelLand/Modules/Interfaces/UDI/trans/gfx.udic @@ -45,7 +45,12 @@ void usage_ind(udi_usage_cb_t *cb, udi_ubit8_t resource_level) { state_cb->subsystem = i; state_cb->attribute = UDI_GFX_PROP_PIXELFORMAT; - [pixfmt] = udi_gfx_get_engine_req(state_cb); + [pixfmt] = @TRY_NAK[status] udi_gfx_get_engine_req(state_cb) + { + // Shit to do if NAK happens + return ; + // break PIXFMT_NONE; + } // TODO: Annotate udi_gfx_state_cb_t to note values are kept? state_cb->subsystem = i;