mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-29 04:50:42 +00:00
- backend sync
This commit is contained in:
parent
080333311c
commit
1b12c08c66
3 changed files with 3 additions and 7 deletions
|
@ -810,6 +810,7 @@ xx(MoveBob)
|
||||||
xx(StillBob)
|
xx(StillBob)
|
||||||
xx(ClassicFlight)
|
xx(ClassicFlight)
|
||||||
xx(WBobSpeed)
|
xx(WBobSpeed)
|
||||||
|
xx(WBobFire)
|
||||||
xx(PlayerClass)
|
xx(PlayerClass)
|
||||||
xx(MonsterClass)
|
xx(MonsterClass)
|
||||||
xx(MorphedMonster)
|
xx(MorphedMonster)
|
||||||
|
|
|
@ -33,10 +33,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <windows.h>
|
#include <windows.h>
|
||||||
#include <GL/gl.h>
|
|
||||||
#include "wglext.h"
|
|
||||||
|
|
||||||
#include "gl_sysfb.h"
|
|
||||||
#include "hardware.h"
|
#include "hardware.h"
|
||||||
#include "x86.h"
|
#include "x86.h"
|
||||||
#include "templates.h"
|
#include "templates.h"
|
||||||
|
@ -52,8 +49,6 @@
|
||||||
#include "win32basevideo.h"
|
#include "win32basevideo.h"
|
||||||
#include "cmdlib.h"
|
#include "cmdlib.h"
|
||||||
|
|
||||||
#include "gl_framebuffer.h"
|
|
||||||
|
|
||||||
CVAR(Int, vid_adapter, 1, CVAR_ARCHIVE | CVAR_GLOBALCONFIG)
|
CVAR(Int, vid_adapter, 1, CVAR_ARCHIVE | CVAR_GLOBALCONFIG)
|
||||||
|
|
||||||
//==========================================================================
|
//==========================================================================
|
||||||
|
|
|
@ -390,8 +390,8 @@ VulkanDescriptorSet* VkMaterial::GetDescriptorSet(const FMaterialState& state)
|
||||||
|
|
||||||
WriteDescriptors update;
|
WriteDescriptors update;
|
||||||
MaterialLayerInfo *layer;
|
MaterialLayerInfo *layer;
|
||||||
auto systex = static_cast<VkHardwareTexture*>(GetLayer(0, translation, &layer));
|
auto systex = static_cast<VkHardwareTexture*>(GetLayer(0, state.mTranslation, &layer));
|
||||||
update.addCombinedImageSampler(descriptor.get(), 0, systex->GetImage(layer->layerTexture, translation, layer->scaleFlags)->View.get(), sampler, systex->mImage.Layout);
|
update.addCombinedImageSampler(descriptor.get(), 0, systex->GetImage(layer->layerTexture, state.mTranslation, layer->scaleFlags)->View.get(), sampler, systex->mImage.Layout);
|
||||||
for (int i = 1; i < numLayers; i++)
|
for (int i = 1; i < numLayers; i++)
|
||||||
{
|
{
|
||||||
auto systex = static_cast<VkHardwareTexture*>(GetLayer(i, 0, &layer));
|
auto systex = static_cast<VkHardwareTexture*>(GetLayer(i, 0, &layer));
|
||||||
|
|
Loading…
Reference in a new issue