<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-2" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Stefan Dösinger napsal(a):
<blockquote cite="mid200709221421.52193.stefandoesinger@gmx.at"
 type="cite">
  <pre wrap="">Am Samstag, 22. September 2007 13:45:11 schrieb Roderick Colenbrander:
  </pre>
  <blockquote type="cite">
    <blockquote type="cite">
      <pre wrap="">I tried this patch, everything works like before, can't find any
regression in apps like ET: QW, Oblivion, all nvidia D3D SDK tests,
3DMarks and others. Titan Quest looks beter, but there are still some
issues in menu, game is not working because of gdi32.dll functionality.
I create patch for actual git.

Mirek
      </pre>
    </blockquote>
    <pre wrap="">There are a couple of things. First something minor use c-style comments
and not c++ ones (so /* */ instead of //). Further I'm not sure if the code
is correct. It looks to be doing a lot of lowlevel things (directly messing
with the memory) and some of the texture upload code is duplicated. Note
that in most cases the data is already in opengl, we don't have to reupload
it (this is slow). I'm not sure what problems your program is having but I
guess it are depth / pitch related problems. For instance the surface is
storing the bpp as seen by the windows app which can be different from the
real bpp if conversion is needed (that's why d3dfmt_get_conversion exists).

What sort of issues was your gaming having before these changes?
    </pre>
  </blockquote>
  <pre wrap=""><!---->I guess it implements source rectangles.

  </pre>
</blockquote>
I don't think that this patch is ready for git, but the game works
little better. I don't know where is the problem, but i made some
screenshots.<br>
<br>
with patch:
<a class="moz-txt-link-freetext" href="http://62.240.181.87/Mirek/wine/Titan%20Quest/2007-09-22-162437.png">http://62.240.181.87/Mirek/wine/Titan%20Quest/2007-09-22-162437.png</a><br>
without patch:
<a class="moz-txt-link-freetext" href="http://62.240.181.87/Mirek/wine/Titan%20Quest/2007-09-22-164651.png">http://62.240.181.87/Mirek/wine/Titan%20Quest/2007-09-22-164651.png</a><br>
<br>
<br>
Mirek
</body>
</html>